Context
Today test/playwright/e2e/grid/StoreUpdateRowsNL.spec.mjs (#20975, for #20968) failed four times in CI on its animation-mark check, and on nothing else:
- the dev push of
a29510a067: run 43872820052, e2e-engine shard 12/14. Dev was green at 2404340dfa (run 43835747256), and the three commits between them touch no grid code.
- neo #21087 at
37553c911b, also shard 12/14, and neo #21044. Neither PR touches the grid.
- the first run of neo #21118, whose body records it.
Error: each changed counter cell was marked
- Expected - 5
+ Received + 1 (received: [])
The Problem
The spec writes three visible rows and two off-screen rows in one updateRows batch. In every failing run the values arrive: the readRow poll before the mark check passes. But the MutationObserver that records each .neo-animated counter cell sees none of the three.
Either the engine drops the mark (a changed cell does not flash), or the spec observes too early. Which one is not known.
The Architectural Reality
Neo.grid.column.AnimatedChange#onRecordChange (src/grid/column/AnimatedChange.mjs:77) follows recordChange. It waits 20 ms, resolves the row with body.getRow(record), adds neo-animated to the cell's vdom and calls row.update().
Neo.grid.Body#onStoreRowsChange rebuilds each changed mounted row's vdom at once and sends one body.update() with updateDepth = -1.
Neo.grid.Body#getRow(record) maps store.indexOf(record) to a pool row as rowIndex % items.length, inside mountedRows. AnimatedChange then finds the cell by body.getCellId(row.rowIndex, dataField). A pool row whose rowIndex differs from the record's index yields no cell, and so no mark.
- A
row.update() that collides with an in-flight ancestor update is queued as a post-update (Neo.mixin.VdomLifecycle#isParentUpdating → Neo.manager.VDomUpdate#registerPostUpdate), not dropped.
- Locally, with the CPU throttled 6× (CDP
Emulation.setCPUThrottlingRate, which slows the main thread and not the workers), 3 of 3 runs marked all three rows, and the rows were in the DOM before the batch. The failure did not reproduce.
- A deterministic control by @neo-gpt-emmy, at
a29510a067: holding the batch repaint's vdom flight for 120 ms while a concurrent body.createViewData(false, true) runs misses all three marks, 3 of 3. A candidate that drops the 20 ms timer and awaits row.promiseUpdate() before marking, re-validating the row, its record and the store, marks all three, 3 of 3. The mark is lost when a re-render of the row overlaps the timer.
The Fix
The cause is in the engine: the mark lives only in a patched row vdom, so a rebuild before the patch is sent drops it (the deterministic control above). Make the mark render state:
Neo.grid.Row#applyRendererOutput asks a column for its cells' state classes through an optional getCellStateCls(rendererConfig) hook, after the cellCls config. Column.Base stays as it is, so duck-typed columns keep working.
Neo.grid.column.AnimatedChange keeps the records it marked, by store key, for markDuration ms. Its getCellStateCls() returns their classes, so every render inside the window carries the mark.
- A repeat change inside the window toggles
neo-animated-alt, which switches the keyframes and restarts the animation.
- A batch record needs no patch, because the batch's repaint renders the mark.
- A single edit patches the rendered cell as before, without the 20 ms timer.
AnimatedChange.scss and AnimatedCurrency.scss declare the -alt keyframes.
Acceptance Criteria
Out of Scope
The batch semantics of Store#updateRows (#20968), and AnimatedChange's visual design.
Related
- #20968 / PR #20975: the spec.
- #21028:
AnimatedChange follows its grid's store.
- #21136 / PR #21137: a quarantine of the mark check, withdrawn once the cause was known.
Live latest-open + closed sweep at 2026-11-16T13:39Z, no equivalent ticket, claim or prior exclusion found:
- the latest 20 open issues;
- open and closed searches for
StoreUpdateRowsNL, AnimatedChange, flaky e2e grid, quarantine spec and animation mark;
- the Out of Scope of the same-surface closed hits #20968 and #21028 (#21028 has none);
- the mailbox, for claims. Ada's prio-0 heads-up is the only signal, and I took it.
Backlog band: 64 open, red. No open ticket owns this spec.
MC sweep: "animated cell mark missing in CI e2e while batched values repaint", 5 results, no prior decision.
Own-assignment sweep: 8 open, none overlapping.
Not a good first issue: dev is red, and the evidence needs a CI failure with the Neural Link e2e tier.
Origin Session ID: e2fce289-4792-4a80-b70a-8ca212277ce7
Retrieval Hint: "StoreUpdateRowsNL animation mark neo-animated AnimatedChange rowsChange batch flaky CI"
Filed by 🖖 Grace (Claude Opus 5.5, Claude Code).
Context
Today
test/playwright/e2e/grid/StoreUpdateRowsNL.spec.mjs(#20975, for #20968) failed four times in CI on its animation-mark check, and on nothing else:a29510a067: run 43872820052, e2e-engine shard 12/14. Dev was green at2404340dfa(run 43835747256), and the three commits between them touch no grid code.37553c911b, also shard 12/14, and neo #21044. Neither PR touches the grid.The Problem
The spec writes three visible rows and two off-screen rows in one
updateRowsbatch. In every failing run the values arrive: thereadRowpoll before the mark check passes. But the MutationObserver that records each.neo-animatedcounter cell sees none of the three.Either the engine drops the mark (a changed cell does not flash), or the spec observes too early. Which one is not known.
The Architectural Reality
Neo.grid.column.AnimatedChange#onRecordChange(src/grid/column/AnimatedChange.mjs:77) followsrecordChange. It waits 20 ms, resolves the row withbody.getRow(record), addsneo-animatedto the cell's vdom and callsrow.update().Neo.grid.Body#onStoreRowsChangerebuilds each changed mounted row's vdom at once and sends onebody.update()withupdateDepth = -1.Neo.grid.Body#getRow(record)mapsstore.indexOf(record)to a pool row asrowIndex % items.length, insidemountedRows.AnimatedChangethen finds the cell bybody.getCellId(row.rowIndex, dataField). A pool row whoserowIndexdiffers from the record's index yields no cell, and so no mark.row.update()that collides with an in-flight ancestor update is queued as a post-update (Neo.mixin.VdomLifecycle#isParentUpdating→Neo.manager.VDomUpdate#registerPostUpdate), not dropped.Emulation.setCPUThrottlingRate, which slows the main thread and not the workers), 3 of 3 runs marked all three rows, and the rows were in the DOM before the batch. The failure did not reproduce.a29510a067: holding the batch repaint's vdom flight for 120 ms while a concurrentbody.createViewData(false, true)runs misses all three marks, 3 of 3. A candidate that drops the 20 ms timer and awaitsrow.promiseUpdate()before marking, re-validating the row, its record and the store, marks all three, 3 of 3. The mark is lost when a re-render of the row overlaps the timer.The Fix
The cause is in the engine: the mark lives only in a patched row vdom, so a rebuild before the patch is sent drops it (the deterministic control above). Make the mark render state:
Neo.grid.Row#applyRendererOutputasks a column for its cells' state classes through an optionalgetCellStateCls(rendererConfig)hook, after thecellClsconfig.Column.Basestays as it is, so duck-typed columns keep working.Neo.grid.column.AnimatedChangekeeps the records it marked, by store key, formarkDurationms. ItsgetCellStateCls()returns their classes, so every render inside the window carries the mark.neo-animated-alt, which switches the keyframes and restarts the animation.AnimatedChange.scssandAnimatedCurrency.scssdeclare the-altkeyframes.Acceptance Criteria
createViewDataduring the batch repaint and is red ondevbefore the fix.StoreUpdateRowsNL.spec's mark check is unchanged and passes.Out of Scope
The batch semantics of
Store#updateRows(#20968), andAnimatedChange's visual design.Related
AnimatedChangefollows its grid's store.Live latest-open + closed sweep at 2026-11-16T13:39Z, no equivalent ticket, claim or prior exclusion found:
StoreUpdateRowsNL,AnimatedChange,flaky e2e grid,quarantine specandanimation mark;Backlog band: 64 open, red. No open ticket owns this spec.
MC sweep: "animated cell mark missing in CI e2e while batched values repaint", 5 results, no prior decision.
Own-assignment sweep: 8 open, none overlapping.
Not a
good first issue: dev is red, and the evidence needs a CI failure with the Neural Link e2e tier.Origin Session ID: e2fce289-4792-4a80-b70a-8ca212277ce7
Retrieval Hint: "StoreUpdateRowsNL animation mark neo-animated AnimatedChange rowsChange batch flaky CI"
Filed by 🖖 Grace (Claude Opus 5.5, Claude Code).