Context
test/playwright/e2e/workstation/WorkstationCellEditingWindowMoveNL.spec.mjs went red three times within a day on pull requests that cannot reach it. Each time the failure was a visible name cell is found — Received: null, from startCellDraft (:206), in a different test:
| PR |
Diff |
Failing test |
Shard |
| #21436 |
menu.List |
:285 |
e2e-engine (5/15), run 44455886438 |
| #21538 |
button menus |
:442 |
e2e-engine (6/15), job 135995802587 |
| #21557 |
Cesium addon |
:381 |
e2e-engine (13/15), job 136067346267 |
Every rerun passed. Captured as defect-notes 120e56ea and 91d174ef; the third sighting promotes it.
The Problem
Every test starts with setupEditableScaleGrid, which wheels the 100k-row scale grid down 6000 px and waits until scrollManager.scrollTop and the view's DOM scrollTop both pass 1000. Then startCellDraft reads a visible name cell once. Scroll position is not the state that read needs: the pooled rows reach their new positions a few frames later.
Measured at dev 32096957fc with a per-frame recorder started just before the wheel (headless Chromium, 4 runs per setting). DOM scrollTop reaches 6000 at about 25 ms. The next 2 frames (about 32 ms) hold no name row inside the view, and the rows are back at 57 ms. At 4× CPU throttle the gap is 3 frames (about 60 ms). Locally the settle poll returns later (about 125 ms, or 165 ms throttled), after the rows are back, so all 29 local probe runs (unthrottled, 4× and 6×) found a cell on the first read. On a loaded CI runner the render can outlast the poll's round trip, and the single read lands in the empty frames.
popOutAndSettle ends the same way in the popup (scroll position holds in popup DOM and engine). The read after it at :328 is also single, and :329 dereferences postCell.recordId before :331 checks it.
The Architectural Reality
findVisibleNameCell (:26) and findAnotherVisibleCell (:64) are one-shot evaluate reads that return null when no row qualifies.
- The reads whose cell the test then uses:
:204 (asserted at :206), :292 (asserted at :294), and :328 and :329 (asserted at :331, after the dereference).
- The same file already waits on render state with
expect.poll elsewhere (the plugin install, both scroll settles).
- Design authority: n/a. No engine behavior is called wrong: pooled rows rendering a few frames after the scroll event is how the grid works. The defect is the test's read.
The Fix
In the spec only: add one helper that polls a finder until it returns a cell, failing with a message that names the read, and route the four reads through it. The two finders stay one-shot.
Acceptance Criteria
Out of Scope
- A different, local-only symptom of the same spec:
util.VNode.getVnode: Component not found for id: neo-textfield-1 during the landed pane's repaint (defect-note 64c2ad6e).
- One-shot reads after a scroll in other specs.
Related
#20800 (the behavior this spec covers) · PR #21048 (the spec) · #21436, #21538, #21557 (the three sightings)
Live latest-open + closed sweep: checked the latest 20 open and open and closed searches (WorkstationCellEditingWindowMoveNL, visible name cell, cell edit window move flaky, e2e flake scroll rows render; #21535 and #18439 read on hits) at 2026-11-20T04:36Z, plus open PRs naming the spec; no equivalent or prior exclusion found. Backlog band: 54 open (red); no epic owns e2e flakes, so this files standalone. A2A in-flight claim sweep: the newest 15 messages in all read states at 04:36Z; no claim on this spec. MC sweep: one query on the symptom found the two defect-notes above and no ticket. Own-assignment sweep: nothing open on this surface.
Ownership: self-assigned; I'm fixing it now so the shard stops reddening contributors' PRs before Monday's cut. No contributor labels for that reason.
Origin Session ID: 8f8ccb51-64c6-4e1c-9bcb-f3e6f812b897
Retrieval Hint: "WorkstationCellEditingWindowMoveNL a visible name cell is found flake one-shot read after scroll rows re-render"
Context
test/playwright/e2e/workstation/WorkstationCellEditingWindowMoveNL.spec.mjswent red three times within a day on pull requests that cannot reach it. Each time the failure wasa visible name cell is found — Received: null, fromstartCellDraft(:206), in a different test:menu.List:285:442:381Every rerun passed. Captured as defect-notes 120e56ea and 91d174ef; the third sighting promotes it.
The Problem
Every test starts with
setupEditableScaleGrid, which wheels the 100k-rowscalegrid down 6000 px and waits untilscrollManager.scrollTopand the view's DOMscrollTopboth pass 1000. ThenstartCellDraftreads a visiblenamecell once. Scroll position is not the state that read needs: the pooled rows reach their new positions a few frames later.Measured at
dev32096957fcwith a per-frame recorder started just before the wheel (headless Chromium, 4 runs per setting). DOMscrollTopreaches 6000 at about 25 ms. The next 2 frames (about 32 ms) hold nonamerow inside the view, and the rows are back at 57 ms. At 4× CPU throttle the gap is 3 frames (about 60 ms). Locally the settle poll returns later (about 125 ms, or 165 ms throttled), after the rows are back, so all 29 local probe runs (unthrottled, 4× and 6×) found a cell on the first read. On a loaded CI runner the render can outlast the poll's round trip, and the single read lands in the empty frames.popOutAndSettleends the same way in the popup (scroll position holds in popup DOM and engine). The read after it at:328is also single, and:329dereferencespostCell.recordIdbefore:331checks it.The Architectural Reality
findVisibleNameCell(:26) andfindAnotherVisibleCell(:64) are one-shotevaluatereads that returnnullwhen no row qualifies.:204(asserted at:206),:292(asserted at:294), and:328and:329(asserted at:331, after the dereference).expect.pollelsewhere (the plugin install, both scroll settles).The Fix
In the spec only: add one helper that polls a finder until it returns a cell, failing with a message that names the read, and route the four reads through it. The two finders stay one-shot.
Acceptance Criteria
scrollTopjump) getsnullfrom the one-shot read ondev, and a cell from the new helper.Out of Scope
util.VNode.getVnode: Component not found for id: neo-textfield-1during the landed pane's repaint (defect-note 64c2ad6e).Related
#20800 (the behavior this spec covers) · PR #21048 (the spec) · #21436, #21538, #21557 (the three sightings)
Live latest-open + closed sweep: checked the latest 20 open and open and closed searches (
WorkstationCellEditingWindowMoveNL,visible name cell,cell edit window move flaky,e2e flake scroll rows render; #21535 and #18439 read on hits) at 2026-11-20T04:36Z, plus open PRs naming the spec; no equivalent or prior exclusion found. Backlog band: 54 open (red); no epic owns e2e flakes, so this files standalone. A2A in-flight claim sweep: the newest 15 messages in all read states at 04:36Z; no claim on this spec. MC sweep: one query on the symptom found the two defect-notes above and no ticket. Own-assignment sweep: nothing open on this surface.Ownership: self-assigned; I'm fixing it now so the shard stops reddening contributors' PRs before Monday's cut. No contributor labels for that reason.
Origin Session ID: 8f8ccb51-64c6-4e1c-9bcb-f3e6f812b897 Retrieval Hint: "WorkstationCellEditingWindowMoveNL a visible name cell is found flake one-shot read after scroll rows re-render"