LearnNewsExamplesConnect
Frontmatter
assigneesneo-fable-mnemosyne
createdAtOct 10, 2026, 3:37 PM
updatedAtOct 10, 2026, 4:04 PM
githubUrlhttps://github.com/neomjs/neo/issues/19549
authorneo-fable-mnemosyne
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 10, 2026, 4:04 PM

Place-cycle witness arms its baseline mid-animation

Closed v13.2.0/archive-v13-2-0-chunk-24 bugaitestingdashboard
neo-fable-mnemosyne
neo-fable-mnemosyne commented on Oct 10, 2026, 3:37 PM

Cut-order item (v13.2 dock polish, #14800 6097885253, listed unowned): Ada's 2026-10-10 04:22Z defect-note — WorkstationTearOutSourceContinuityNL.spec.mjs › "#16756 no-drag native place-cycle preserves resident-card composition and identity" fails with audit: restored pane geometry must return to baseline, received ≈ 12.04 px (≤ 1 expected), at dev 5698517f19 and every base back to 87b051d023, after passing on the same host earlier.

Context

Reproduced on this seat at dev 5698517f19, headless, --repeat-each=2 in one process: run 1 green, run 2 red with 12.027 px — the same number. The receipts attached by the arm ({receipt, records}) hold the station geometry and the per-frame sampler, which settle the cause without an engine read.

Live latest-open sweep: the latest 20 open issues at 13:35Z, no equivalent (#19544 is the overflow 65 ms, #19548 the rail focus ring). A2A claim sweep: my [lane-intent] of 13:32Z; no competing claim. Memory sweep: Vega's #16498 place-cycle witness work (2026-09-16) and my 2026-10-09 note that the film take holds no main-window place-cycle; no prior fix of this baseline. Own-assignment sweep: #19543 (the film cue), #15252, #19382.

The Problem

The arm compares each resident pane's height at the roomy-start station against roomy-restored (both 1200×1040 outer). In the failing run the restore is exact — Audit 280.5 px at roomy-restored, identical to the passing run's baseline — but the baseline was captured while the Audit pane was still easing: its per-frame heights through the roomy-start station read 258.06 → 258.06 → 263.71 → 268.47 (four frames), then 136.3 → 140.48 through the compact station, and 280.48 → 280.50 in the restored band. The three other panes (queues, alerts, commits) were settled in every frame. The 8.39 px Ada saw at another base is the same easing sampled one frame earlier.

The baseline is armed ~100 ms after the Audit tab click (auditButton.click() → toBeVisible → waitPresentedFrames(6) → armRestoreSampler); a warm second run in the same browser reaches that click while the boot's dock motion is still in flight, so the first station records an unsettled pane. Nothing in the arm asks the dock whether it has settled.

The Architectural Reality

  • The arm: test/playwright/e2e/workstation/WorkstationTearOutSourceContinuityNL.spec.mjs — the click and the six-frame wait (lines ~595–607), armRestoreSampler (line 77), the station geometry (815–822), the assertion (889).
  • The dock's motion contract is observable: src/dashboard/dock/projection/MotionSignal.mjs owns neo-dashboard-dock-animating on the workspace component (counted, fail-safe, present during choreography transitions, FLIP commits and a header's overflow repartition; removed on settle); the duration tokens live in resources/scss/src/dashboard/Container.scss (--dock-transition-duration 280 ms). The observed easing spans ~1.5 s, longer than one panel token; the producer is not identified here and the witness does not need it.
  • waitPresentedFrames counts frames, not settlement, by design ("without encoding wall-clock animation speed"); the gap is a settle predicate before the baseline.

The Fix

A settle gate before armRestoreSampler (and before the station switches that are compared): poll presented frames until the dock host carries no neo-dashboard-dock-animating and every target pane's rect is identical across eight consecutive frames; bounded (~3 s) and, on timeout, failing with the pane heights it observed so the log names the unsettled pane. Test-only; the engine stays untouched.

Contract Ledger: none — no consumed surface changes (a witness-internal gate). Decision Record impact: none.

Acceptance Criteria

  • AC-1 The arm is green three times in one headless process (--repeat-each=3), the configuration that reproduced the red on the second run.
  • AC-2 The gate's timeout failure names the pane and the heights it saw (a red run explains itself without a rerun).
  • AC-3 No change under src/ or apps/.
  • AC-4 The witness's claim text keeps its "no wall-clock encoding" discipline: the gate is frame-and-signal based, not a sleep.

Out of Scope

Why a tab click eases the resident panes for ~1.5 s (a dock-motion question for the operator's hand check of apps/workstation, not this witness); Ada's second note (WorkstationNestedColumnResizeNL "both stacked panes follow…", unmeasured here); #16498's own composition gates.

Related

#14800 (the cut), #16756 / #16498 (the arm's origin), #19544 (the overflow repartition, a different 65 ms), Ada's defect-note of 04:22Z.

Origin Session ID: 3a9bcd3a-765f-406e-99a2-0d42ddf62c6b Retrieval Hint: "place-cycle witness baseline mid-animation Audit pane 258 268 280.5 settle gate dock-animating"

tobiu referenced in commit 453915f - "test(workstation): the place-cycle witness waits for a settled room before its baseline (#19549) (#19550)" on Oct 10, 2026, 4:04 PM
tobiu closed this issue on Oct 10, 2026, 4:04 PM