Context
Promoted from a defect-note (2026-09-16) after it reddened four CI jobs across three branches that touch neither list/ nor the vdom engine:
| job |
branch |
shape |
| 104744290891 |
grace/18764-grid-native-cell-editing |
1 flaky · 31 skipped · 4156 passed, exit 1 |
| 104756364740 |
grace/18776-domaccess-stub-restore |
same |
| 104757342426 |
same branch as the first, rerun |
same |
| 104769387625 |
grace/18771-grid-renderer-scope |
2 flaky, this arm plus the one #18785 fixed |
The arm is Neo.list.plugin.Animate — measured row height › the guard admits itemHeight null with measureItemHeight, and refuses it without (test/playwright/unit/list/animatePlugin.spec.mjs:551). It fails at :560, expect(errors).toEqual([]), and the array holds:
vdom update wedged: "my-test-component" has been in-flight for over 5000ms.
Its reply was likely lost — the component will not update again…
my-test-component is not this spec's. It is created by test/playwright/unit/functional/HtmlTemplateComponent.spec.mjs:108.
The gate is deliberate and not the defect. playwright.config.unit.mjs:28 sets failOnFlakyTests: isCI with retries: 2, so a retry-passing arm reds the job on purpose. The leaf is the arm.
The Problem
The arm captures the process's console.error and then asserts that nothing at all was logged:
const errors = [], prior = console.error;
console.error = (...args) => errors.push(String(args[0]));
try {
const {list} = await createFixture(measuredConfig());
expect(errors).toEqual([]); One Playwright worker runs many spec files in one process, and VDomUpdate's wedge watchdog is a 5-second setTimeout armed by whichever component was updating when it started. So a watchdog armed by an earlier spec file fires inside this arm's capture window and is attributed to it. The arm asks "did the guard complain?" and is answered "did anything in this process log an error in the last few milliseconds?".
That is the same class as #18785 (an arm asserting DragCoordinator.sortZones is empty while other specs share the process), fixed by narrowing the assertion to the arm's own target.
What this ticket does not claim. Whether that watchdog should fire — whether some component really does leave an in-flight update behind — is a separate question, broadcast as its own defect-note and not owned here. Fixing the arm does not silence the watchdog: it keeps logging, for whoever owns it.
The Architectural Reality
| surface |
today |
test/playwright/unit/list/animatePlugin.spec.mjs:551-569 |
captures console.error process-wide; asserts emptiness, then asserts one message mentions measureItemHeight |
src/manager/VDomUpdate.mjs:121-137 |
watchdogThreshold = 5000 and watchdogTimerMap; the timer is armed per in-flight update and cleared by unregisterInFlightUpdate |
test/playwright/unit/functional/HtmlTemplateComponent.spec.mjs:108 |
creates my-test-component, the id the leaked message names |
test/playwright/playwright.config.unit.mjs:28 |
failOnFlakyTests: isCI, retries: 2 — deliberate, per @neo-opus-ada's correction |
| #18785 / PR #18786 |
the same class, one arm over, already fixed by scoping the assertion |
The Fix
Scope the arm to its own subject. It exists to prove two things about the measureItemHeight guard — that a valid config draws no complaint, and that an invalid one draws exactly one — so both assertions read the messages the guard produces rather than the process's log:
- keep every captured message, but assert over the subset this arm is about (the guard's own text), so an unrelated process log neither passes nor fails it;
- leave the capture/restore in
try/finally as it is;
- state in one line why the filter exists, so the next reader does not "simplify" it back to
toEqual([]).
Acceptance Criteria
Out of Scope
- Whether a component leaves an in-flight update behind for the watchdog to find. Separate defect-note, unowned; this ticket makes the arm honest, not the engine quiet.
failOnFlakyTests / retries: deliberate policy (playwright.config.unit.mjs:28), and weakening it would hide exactly this kind of finding.
- The other flaky arm in the same jobs: #18785, already fixed.
Avoided Traps
- Re-running until green. Four jobs across three branches, each costing a 2-minute rerun, is the cost of treating this as weather.
- Silencing the watchdog or lowering its threshold: it is the only thing that names a lost reply, and it is right to be loud.
- Asserting emptiness "but ignoring known messages" by string-blacklist. A blacklist grows with every new unrelated logger; asking about the guard's own output does not.
Related
#18785 / PR #18786 (same class, one arm over) · #18776 (cross-file state leaking into a later spec's assertions) · the wedge defect-note, 2026-09-16
Live latest-open sweep: latest 20 open issues at 2026-09-16T11:44Z; no equivalent. A2A claim sweep: latest 30 inbox messages, all read-states, same window; @neo-opus-ada claimed the CrossWindowDragTarget arm and explicitly left this one. Memory Core rationale sweep: query_raw_memories on the symptom nouns returned the 2026-01 vdom-callback sessions and no decision on this arm. Closed-issue sweep: animatePlugin / wedged across all states surfaced #18604 (the feature this arm guards) and #18785 (the sibling), neither owning it. Own-assignment sweep: 5 open, none on list/.
Origin Session ID: a758f0e1-0dc1-4e4e-a975-4824a9319487
Retrieval Hint: "animatePlugin measured row height arm captures console.error process-wide; a wedge watchdog armed by another spec file fails it"
Context
Promoted from a
defect-note(2026-09-16) after it reddened four CI jobs across three branches that touch neitherlist/nor the vdom engine:grace/18764-grid-native-cell-editing1 flaky · 31 skipped · 4156 passed, exit 1grace/18776-domaccess-stub-restoregrace/18771-grid-renderer-scope2 flaky, this arm plus the one #18785 fixedThe arm is
Neo.list.plugin.Animate — measured row height › the guard admits itemHeight null with measureItemHeight, and refuses it without(test/playwright/unit/list/animatePlugin.spec.mjs:551). It fails at:560,expect(errors).toEqual([]), and the array holds:my-test-componentis not this spec's. It is created bytest/playwright/unit/functional/HtmlTemplateComponent.spec.mjs:108.The gate is deliberate and not the defect.
playwright.config.unit.mjs:28setsfailOnFlakyTests: isCIwithretries: 2, so a retry-passing arm reds the job on purpose. The leaf is the arm.The Problem
The arm captures the process's
console.errorand then asserts that nothing at all was logged:const errors = [], prior = console.error; console.error = (...args) => errors.push(String(args[0])); try { const {list} = await createFixture(measuredConfig()); expect(errors).toEqual([]); // ← :560, any process log fails hereOne Playwright worker runs many spec files in one process, and
VDomUpdate's wedge watchdog is a 5-secondsetTimeoutarmed by whichever component was updating when it started. So a watchdog armed by an earlier spec file fires inside this arm's capture window and is attributed to it. The arm asks "did the guard complain?" and is answered "did anything in this process log an error in the last few milliseconds?".That is the same class as #18785 (an arm asserting
DragCoordinator.sortZonesis empty while other specs share the process), fixed by narrowing the assertion to the arm's own target.What this ticket does not claim. Whether that watchdog should fire — whether some component really does leave an in-flight update behind — is a separate question, broadcast as its own defect-note and not owned here. Fixing the arm does not silence the watchdog: it keeps logging, for whoever owns it.
The Architectural Reality
test/playwright/unit/list/animatePlugin.spec.mjs:551-569console.errorprocess-wide; asserts emptiness, then asserts one message mentionsmeasureItemHeightsrc/manager/VDomUpdate.mjs:121-137watchdogThreshold = 5000andwatchdogTimerMap; the timer is armed per in-flight update and cleared byunregisterInFlightUpdatetest/playwright/unit/functional/HtmlTemplateComponent.spec.mjs:108my-test-component, the id the leaked message namestest/playwright/playwright.config.unit.mjs:28failOnFlakyTests: isCI,retries: 2— deliberate, per @neo-opus-ada's correctionThe Fix
Scope the arm to its own subject. It exists to prove two things about the
measureItemHeightguard — that a valid config draws no complaint, and that an invalid one draws exactly one — so both assertions read the messages the guard produces rather than the process's log:try/finallyas it is;toEqual([]).Acceptance Criteria
measureItemHeightaccepted for a config it must refuse, or refused for one it must admit, the assertions still red (its original contract is intact).console.erroris emitted inside its window; an injected message proves it, and removing the filter makes that injection red again.list/animatePlugin.spec.mjspaired withfunctional/HtmlTemplateComponent.spec.mjsin one worker stays green.Out of Scope
failOnFlakyTests/retries: deliberate policy (playwright.config.unit.mjs:28), and weakening it would hide exactly this kind of finding.Avoided Traps
Related
#18785 / PR #18786 (same class, one arm over) · #18776 (cross-file state leaking into a later spec's assertions) · the wedge defect-note, 2026-09-16
Live latest-open sweep: latest 20 open issues at 2026-09-16T11:44Z; no equivalent. A2A claim sweep: latest 30 inbox messages, all read-states, same window; @neo-opus-ada claimed the
CrossWindowDragTargetarm and explicitly left this one. Memory Core rationale sweep:query_raw_memorieson the symptom nouns returned the 2026-01 vdom-callback sessions and no decision on this arm. Closed-issue sweep:animatePlugin/wedgedacross all states surfaced #18604 (the feature this arm guards) and #18785 (the sibling), neither owning it. Own-assignment sweep: 5 open, none onlist/.Origin Session ID: a758f0e1-0dc1-4e4e-a975-4824a9319487
Retrieval Hint: "animatePlugin measured row height arm captures console.error process-wide; a wedge watchdog armed by another spec file fails it"