Context
test/playwright/component/dashboard/DockRailRevealIframe.spec.mjs:221, the arm control: with no reveal open, the row drops into the plain frame, fails at random on pull requests that do not touch the dock. It failed on 6 of 46 failed components job attempts since 2026-09-15, on five unrelated branches: #18731, #18829, #18844, #18879, #18889. Locally it fails 2 of 40 and 4 of 80 runs with no load.
The Problem
The frame document never receives a dragover, and __nativeDrop stays null. A diagnostic copy of the arm recorded where the press landed and where the row was, and all 4 failures of 80 look the same:
- The row was measured at
y=413, but at the press it sat at y=53. At the measured centre, elementFromPoint returns div#dock-rail-iframe-pane-source.dock-flip-item-source, the pane, not the row.
- The only parent event is
mousedown@div#dock-rail-iframe-pane-source. No dragstart fires, because the press missed the draggable row.
- In all 76 passing runs the row was measured at
y=53 and the press hit it.
- The frame document was ready in every run (
readyState: complete, listener installed), so the frame is not the cause.
The fixture's workspace applies its zone document in construct, and the dock animates that first layout with a FLIP: the panes glide into place by transform. dragRowIntoPlainFrame() reads boundingBox() as soon as beforeEach sees the panes, sometimes mid-glide. The reveal arm never hits this, because its reveal takes longer than the glide.
The Architectural Reality
src/dashboard/dock/projection/MotionSignal.mjs: while any dock motion is in flight, the FLIP commit layer included, the workspace subtree carries neo-dashboard-dock-animating. Its docblock says assertion surfaces key off exactly that signal.
test/playwright/component/dashboard/DockTabReorderGesture.spec.mjs restingTab() is the sibling precedent. It measures only when the signal is absent and host.getAnimations({subtree: true}) is empty: "a rect read mid-glide is not where a press lands."
The Fix
dragRowIntoPlainFrame() reads both points, the source row's centre and the plain frame's centre, from a resting-dock poll on the restingTab() pattern, and presses only then. It is test-only, and no source changes.
Acceptance Criteria
Out of Scope
- The boot FLIP itself. Animating the first layout is the dock's behaviour, not a defect.
Avoided Traps
- ⛔ A retry around the gesture. It would hide the next arm that measures mid-glide, and the dock already publishes when it is at rest.
Related
- Live latest-open sweep: checked the 20 latest open issues at 2026-09-18T17:00Z, plus an all-state search for
DockRailRevealIframe. The closed #18087 and #18134 are the reveal's own defects, not this arm.
- A2A: I offered this flake to the swarm twice today, and nobody claimed it.
Origin Session ID: 0a997d38-ccdb-4352-ac21-566606a6ab2d
Retrieval Hint: "DockRailRevealIframe control arm flake FLIP mid-glide boundingBox resting dock"
Context
test/playwright/component/dashboard/DockRailRevealIframe.spec.mjs:221, the arm control: with no reveal open, the row drops into the plain frame, fails at random on pull requests that do not touch the dock. It failed on 6 of 46 failedcomponentsjob attempts since 2026-09-15, on five unrelated branches: #18731, #18829, #18844, #18879, #18889. Locally it fails 2 of 40 and 4 of 80 runs with no load.The Problem
The frame document never receives a
dragover, and__nativeDropstaysnull. A diagnostic copy of the arm recorded where the press landed and where the row was, and all 4 failures of 80 look the same:y=413, but at the press it sat aty=53. At the measured centre,elementFromPointreturnsdiv#dock-rail-iframe-pane-source.dock-flip-item-source, the pane, not the row.mousedown@div#dock-rail-iframe-pane-source. Nodragstartfires, because the press missed the draggable row.y=53and the press hit it.readyState: complete, listener installed), so the frame is not the cause.The fixture's workspace applies its zone document in
construct, and the dock animates that first layout with a FLIP: the panes glide into place by transform.dragRowIntoPlainFrame()readsboundingBox()as soon asbeforeEachsees the panes, sometimes mid-glide. The reveal arm never hits this, because its reveal takes longer than the glide.The Architectural Reality
src/dashboard/dock/projection/MotionSignal.mjs: while any dock motion is in flight, the FLIP commit layer included, the workspace subtree carriesneo-dashboard-dock-animating. Its docblock says assertion surfaces key off exactly that signal.test/playwright/component/dashboard/DockTabReorderGesture.spec.mjsrestingTab()is the sibling precedent. It measures only when the signal is absent andhost.getAnimations({subtree: true})is empty: "a rect read mid-glide is not where a press lands."The Fix
dragRowIntoPlainFrame()reads both points, the source row's centre and the plain frame's centre, from a resting-dock poll on therestingTab()pattern, and presses only then. It is test-only, and no source changes.Acceptance Criteria
devfails about 1 in 20.dragstart, and the press dismisses.restingTab()reads. No fixed wait.Out of Scope
Avoided Traps
Related
DockRailRevealIframe. The closed #18087 and #18134 are the reveal's own defects, not this arm.Origin Session ID: 0a997d38-ccdb-4352-ac21-566606a6ab2d Retrieval Hint: "DockRailRevealIframe control arm flake FLIP mid-glide boundingBox resting dock"