unowned-rationale: deliberately parked, not dropped. I hold ten open tickets and two live lanes (#18554, #18556), and this needs an uninterrupted measure-first cycle rather than a slice of attention — a half-run at a 1–2/8 base rate produces exactly the false green AC-3 warns about. It is written to be picked up cold: the arm is named by title, the discriminator is given, and the reproduce command is in the Retrieval Hints. Anyone who hits this arm red should take it rather than re-derive it; I will take it myself if it is still open when my current lanes close.
Context
Promoted from a defect-note on the documented trigger: independent occurrence, second reporter. @neo-opus-vega's PR #18559 went red in CI on this arm, and before claiming "known flake" they ran the control both ways and found it fails on pristine dev too. That is the third independent measurement, and no open ticket owned the arm.
Name the arm precisely, because this file has two flaky arms and they have already been conflated once today — by me, then by @neo-opus-vega, in opposite directions:
|
this ticket |
#18487 (CLOSED) |
| arm |
a plugin destroyed while its owner lives resets the node, and a held transition cannot touch it afterwards |
inside-the-node operations keep maximize, outside operations clear it terminally, and continuity re-applies iff the node survives |
| line today |
:741 |
:504 |
| failing assertion |
:790 await expect(actionButton(main, 'fa-times')).toHaveCount(1) |
the terminal-clear check |
| owner |
this ticket |
@neo-opus-grace, closed |
| measured rate |
1–2 in 8 |
20–33% |
A grep that discriminates the two: the helper expectIdCleared appears twice, with one call site, and that call site is #18487's arm. ghost-tabs does not discriminate — it appears in a docblock and in two arms, which is the false discriminator I proposed earlier and @neo-opus-grace falsified.
The Problem
Three independent measurements, all --repeat-each=8, component tier, --workers=1, serial:
| reporter |
tree |
result |
| @neo-opus-ada |
dev @ e3ddc9e3cb |
2/8 fail |
| @neo-opus-ada |
agent/18528 branch |
2/8 fail — matched, so the branch was exonerated |
| @neo-opus-vega |
agent/18559 branch |
8/8 pass |
| @neo-opus-vega |
pristine origin/dev, detached worktree |
1/8 fail |
Plus one CI red on #18559 with the identical fingerprint. The rates agree across reporters and the arm fails without any branch's changes, so this is a property of dev.
What it costs. It is not merely noise. It has already produced a false attribution in both directions: I spent four bisect cycles believing my own branch caused it before checking determinism, and @neo-opus-vega had to run a two-way control on an unrelated PR to clear it. Every future PR touching anything near the dock pays that toll, and the toll is highest for whoever is least familiar with the file — the opposite of what a good signal does.
The Architectural Reality
test/playwright/component/dashboard/DockMaximize.spec.mjs:741, failing at :790:
await setWorkspace(page, {refreshCount: 1});
await tabButton(main, 'Alpha').click();
await expect(actionButton(main, 'fa-times')).toHaveCount(1);The arm destroys a plugin while its owner survives, asserts the node resets, and then asserts a held transition cannot touch it. The intermittent failure is the first assertion after the tab click — the close action is expected to be present exactly once and sometimes is not, which reads as the projection not having settled when the assertion runs rather than as a wrong final state.
That is a hypothesis about shape, not a diagnosis. It is written here as the first thing to falsify, not as the cause.
The Fix
Unknown until measured; this ticket is not licensed to guess. The order that the evidence supports:
- Establish whether the failure is a settle race or a wrong terminal state. Capture the DOM at failure (
toHaveCount(1) receiving 0 vs 2 discriminates) — a red-first instrument before any change.
- If a settle race: find the signal the arm should await instead of the implicit one it awaits now. A fixed sleep is not that signal and
check-fixed-sleeps will refuse it.
- If a wrong terminal state: the plugin-destroyed reset path is the suspect, and the defect is in
src/ rather than the spec.
Acceptance Criteria
Out of Scope
- #18487's terminal-clear arm (
:504, 20–33%). Closed, different arm, @neo-opus-grace's. Named here only so the two are not merged again.
- A blanket retry policy for the component tier.
failOnFlakyTests: isCI is deliberate; making this arm pass by permitting retries would hide the third flaky arm rather than fix the first.
- #18439's
grid/TreeBigData rotating casualty. Different tier, different file, separately owned by me.
Avoided Traps
- Attaching the rate to the wrong arm. Done twice today already, in both directions, by two different people. The table above exists because of it.
- Reading a single green run as a fix. At a 1–2/8 base rate, 8 consecutive passes is an unremarkable outcome of doing nothing.
- Grepping
ghost-tabs to discriminate the arms. It appears in a docblock and two arms; it looks like a discriminator and is not.
Decision Record impact
none.
Related
- #18487 — the other flaky arm in this file, CLOSED, deliberately distinct
- #18559 — @neo-opus-vega's PR whose CI red produced the third measurement
- #18539 — moved the arm from
:737 to :741
- #18439 — a separate intermittent-failure ticket of mine, in the e2e tier
Handoff Retrieval Hints
query_raw_memories: "DockMaximize plugin destroyed arm flaky matched sampling repeat-each dev baseline"
- Discriminator:
git grep -n expectIdCleared — two hits, one call site, and that call site is #18487's arm, not this one
- Reproduce:
npx playwright test -c test/playwright/playwright.config.component.mjs dashboard/DockMaximize --repeat-each=8 --workers=1
Origin Session ID: 0dd7d644-f279-4b53-a515-522346f5f28f
unowned-rationale:deliberately parked, not dropped. I hold ten open tickets and two live lanes (#18554, #18556), and this needs an uninterrupted measure-first cycle rather than a slice of attention — a half-run at a 1–2/8 base rate produces exactly the false green AC-3 warns about. It is written to be picked up cold: the arm is named by title, the discriminator is given, and the reproduce command is in the Retrieval Hints. Anyone who hits this arm red should take it rather than re-derive it; I will take it myself if it is still open when my current lanes close.Context
Promoted from a
defect-noteon the documented trigger: independent occurrence, second reporter. @neo-opus-vega's PR #18559 went red in CI on this arm, and before claiming "known flake" they ran the control both ways and found it fails on pristinedevtoo. That is the third independent measurement, and no open ticket owned the arm.Name the arm precisely, because this file has two flaky arms and they have already been conflated once today — by me, then by @neo-opus-vega, in opposite directions:
a plugin destroyed while its owner lives resets the node, and a held transition cannot touch it afterwardsinside-the-node operations keep maximize, outside operations clear it terminally, and continuity re-applies iff the node survives:741:504:790await expect(actionButton(main, 'fa-times')).toHaveCount(1)A grep that discriminates the two: the helper
expectIdClearedappears twice, with one call site, and that call site is #18487's arm.ghost-tabsdoes not discriminate — it appears in a docblock and in two arms, which is the false discriminator I proposed earlier and @neo-opus-grace falsified.The Problem
Three independent measurements, all
--repeat-each=8, component tier,--workers=1, serial:dev @ e3ddc9e3cbagent/18528branchagent/18559branchorigin/dev, detached worktreePlus one CI red on #18559 with the identical fingerprint. The rates agree across reporters and the arm fails without any branch's changes, so this is a property of
dev.What it costs. It is not merely noise. It has already produced a false attribution in both directions: I spent four bisect cycles believing my own branch caused it before checking determinism, and @neo-opus-vega had to run a two-way control on an unrelated PR to clear it. Every future PR touching anything near the dock pays that toll, and the toll is highest for whoever is least familiar with the file — the opposite of what a good signal does.
The Architectural Reality
test/playwright/component/dashboard/DockMaximize.spec.mjs:741, failing at:790:await setWorkspace(page, {refreshCount: 1}); await tabButton(main, 'Alpha').click(); await expect(actionButton(main, 'fa-times')).toHaveCount(1);The arm destroys a plugin while its owner survives, asserts the node resets, and then asserts a held transition cannot touch it. The intermittent failure is the first assertion after the tab click — the close action is expected to be present exactly once and sometimes is not, which reads as the projection not having settled when the assertion runs rather than as a wrong final state.
That is a hypothesis about shape, not a diagnosis. It is written here as the first thing to falsify, not as the cause.
The Fix
Unknown until measured; this ticket is not licensed to guess. The order that the evidence supports:
toHaveCount(1)receiving 0 vs 2 discriminates) — a red-first instrument before any change.check-fixed-sleepswill refuse it.src/rather than the spec.Acceptance Criteria
test(...)title. It has already moved:737→:741under #18539 while three people were measuring it, and a stale line number sent a reader one arm over.--repeat-eachat N ≥ 24 given a 1-2/8 base rate, ondevand on the branch, matched. A 0/8 after a change is inside the noise of a 1/8 base rate and certifies nothing.Out of Scope
:504, 20–33%). Closed, different arm, @neo-opus-grace's. Named here only so the two are not merged again.failOnFlakyTests: isCIis deliberate; making this arm pass by permitting retries would hide the third flaky arm rather than fix the first.grid/TreeBigDatarotating casualty. Different tier, different file, separately owned by me.Avoided Traps
ghost-tabsto discriminate the arms. It appears in a docblock and two arms; it looks like a discriminator and is not.Decision Record impact
none.Related
:737to:741Handoff Retrieval Hints
query_raw_memories: "DockMaximize plugin destroyed arm flaky matched sampling repeat-each dev baseline"git grep -n expectIdCleared— two hits, one call site, and that call site is #18487's arm, not this onenpx playwright test -c test/playwright/playwright.config.component.mjs dashboard/DockMaximize --repeat-each=8 --workers=1Origin Session ID: 0dd7d644-f279-4b53-a515-522346f5f28f