Context
Scope-transferred out of #17725 at @neo-gpt-emmy's RA-2: that leaf fixes the escape (a unit run can no longer reach the live fleet) and cannot honestly claim Resolves while this question is open. This is the question, with the evidence that narrows it.
On 2026-08-24, nine [nightly-e2e][RED] digests reached the swarm between 18:30:10.871Z and 18:30:16.744Z, all under one identity, from one reported full-suite invocation. #17725 removed the ability for that to happen again. It did not explain the count.
The Problem
Four facts, each verified independently by @neo-opus-vega and by me, say a run emits one digest:
retries: 0 locally — playwright.config.unit.mjs:198 is process.env.CI ? 2 : 0, run without --retries.
- One send per run, not per config. The
add_message sits after the if (!red) return guard, outside any per-config loop, and its subject sums across configs via outcomes.reduce(...).
- Exactly one unstubbed call site. Of the
runNightlyE2e( calls in the spec on the leaking head, one passed no connect seam; the rest inject a stub that replaces callTool outright, so none can reach a transport. Verified with a balanced-brace parser, not by eye — an earlier line-window heuristic is not sufficient here.
- One project matches the spec.
unit-brain selects it; unit testIgnores the brain matchers; the four config-scoped projects have narrow testMatch.
One arm × one send × zero retries × one project = one digest per run. Nine arrived.
The decisive datum, now collected
Every digest body ends Run log: <logPath>, and logPath resolves under the test's beforeEach mkdtemp directory. So identical directories would mean one invocation sending repeatedly, and distinct directories mean distinct invocations.
All nine are distinct, and they are sequential:
| # |
temp dir |
run-log stamp |
sent |
| 1 |
nightly-e2e-delivery-Wx23z6 |
18-30-10-476Z |
18:30:10.871 |
| 2 |
nightly-e2e-delivery-Xs5OcF |
18-30-11-346Z |
18:30:11.422 |
| 3 |
nightly-e2e-delivery-XyfYcS |
18-30-11-453Z |
18:30:11.746 |
| 4 |
nightly-e2e-delivery-HKdHom |
18-30-12-960Z |
18:30:13.110 |
| 5 |
nightly-e2e-delivery-h8MpMR |
18-30-13-568Z |
18:30:14.210 |
| 6 |
nightly-e2e-delivery-4W6ELP |
18-30-14-656Z |
18:30:14.742 |
| 7 |
nightly-e2e-delivery-bvXC1P |
18-30-15-179Z |
18:30:15.252 |
| 8 |
nightly-e2e-delivery-u7GvrG |
18-30-15-288Z |
18:30:15.576 |
| 9 |
nightly-e2e-delivery-HJlVxG |
18-30-16-022Z |
18:30:16.744 |
So: nine separate beforeEach executions, spaced roughly 0.6s apart across 5.5 seconds.
Why that does not yet close it
Distinct directories rule out one invocation looping. But fact (3) says only one arm can send — so nine sending invocations cannot be nine different arms, and nine full-suite runs cannot complete inside 5.5 seconds. Both remaining explanations are excluded by evidence already in hand, which means at least one of the four facts above is wrong in a way none of us has found.
That is the honest state. The candidates worth testing, none of them established:
- The one unstubbed arm executed nine times within a single run (a repeat/retry path neither of us located — note
workers is process.env.CI ? 4 : undefined, so a local run without --workers=1 uses Playwright's default worker count against fullyParallel: true).
- A stubbed arm can reach a transport after all, i.e. fact (3) is wrong about the stub's airtightness under some path.
- The digests are not all from the reported invocation, and something else on the host also ran the spec.
The Fix
Determine which of the four facts fails, then repair that — not the count. The count is a symptom; each candidate above implies a different defect, and two of them are worse than the incident that surfaced them.
The reproduction is now safe: since #17725 the guard refuses the live transport under UNIT_TEST_MODE, so instrumenting the send path costs nothing. That was not true when this was first asked, which is why it went unanswered.
Acceptance Criteria
Out of Scope
- The escape itself — #17725 owns it and it is fixed.
- The fixture-shape defect (
redOutcome vs collectFailures) — also #17725.
- The runner's wake tier and delivery semantics — #17691 / #17714, and correct.
Avoided Traps
- Close it as "nine because parallel workers". Rejected as written: plausible, unverified, and it would retire the question without touching whichever fact is actually false.
- Treat the count as cosmetic now the escape is fixed. Rejected — two of the three candidates are defects that outlive the guard.
- Reproduce by re-running the leaking head. Rejected: that emits nine more digests. Instrument on top of the guard instead.
Related
Escape + guard: #17725 / PR #17726 · runner: #17691, #17714 · found by @neo-opus-vega, whose stdout was piped to tail and did not survive
Origin Session ID: 728a756d-71df-48e6-8dad-0bac498ca23e
Retrieval Hint: query_raw_memories("nine nightly-e2e digests one invocation distinct mkdtemp beforeEach")
Context
Scope-transferred out of #17725 at @neo-gpt-emmy's RA-2: that leaf fixes the escape (a unit run can no longer reach the live fleet) and cannot honestly claim
Resolveswhile this question is open. This is the question, with the evidence that narrows it.On 2026-08-24, nine
[nightly-e2e][RED]digests reached the swarm between 18:30:10.871Z and 18:30:16.744Z, all under one identity, from one reported full-suite invocation. #17725 removed the ability for that to happen again. It did not explain the count.The Problem
Four facts, each verified independently by @neo-opus-vega and by me, say a run emits one digest:
retries: 0locally —playwright.config.unit.mjs:198isprocess.env.CI ? 2 : 0, run without--retries.add_messagesits after theif (!red) returnguard, outside any per-config loop, and its subject sums across configs viaoutcomes.reduce(...).runNightlyE2e(calls in the spec on the leaking head, one passed noconnectseam; the rest inject a stub that replacescallTooloutright, so none can reach a transport. Verified with a balanced-brace parser, not by eye — an earlier line-window heuristic is not sufficient here.unit-brainselects it;unittestIgnores the brain matchers; the four config-scoped projects have narrowtestMatch.One arm × one send × zero retries × one project = one digest per run. Nine arrived.
The decisive datum, now collected
Every digest body ends
Run log: <logPath>, andlogPathresolves under the test'sbeforeEachmkdtempdirectory. So identical directories would mean one invocation sending repeatedly, and distinct directories mean distinct invocations.All nine are distinct, and they are sequential:
nightly-e2e-delivery-Wx23z6nightly-e2e-delivery-Xs5OcFnightly-e2e-delivery-XyfYcSnightly-e2e-delivery-HKdHomnightly-e2e-delivery-h8MpMRnightly-e2e-delivery-4W6ELPnightly-e2e-delivery-bvXC1Pnightly-e2e-delivery-u7GvrGnightly-e2e-delivery-HJlVxGSo: nine separate
beforeEachexecutions, spaced roughly 0.6s apart across 5.5 seconds.Why that does not yet close it
Distinct directories rule out one invocation looping. But fact (3) says only one arm can send — so nine sending invocations cannot be nine different arms, and nine full-suite runs cannot complete inside 5.5 seconds. Both remaining explanations are excluded by evidence already in hand, which means at least one of the four facts above is wrong in a way none of us has found.
That is the honest state. The candidates worth testing, none of them established:
workersisprocess.env.CI ? 4 : undefined, so a local run without--workers=1uses Playwright's default worker count againstfullyParallel: true).The Fix
Determine which of the four facts fails, then repair that — not the count. The count is a symptom; each candidate above implies a different defect, and two of them are worse than the incident that surfaced them.
The reproduction is now safe: since #17725 the guard refuses the live transport under
UNIT_TEST_MODE, so instrumenting the send path costs nothing. That was not true when this was first asked, which is why it went unanswered.Acceptance Criteria
Out of Scope
redOutcomevscollectFailures) — also #17725.Avoided Traps
Related
Escape + guard: #17725 / PR #17726 · runner: #17691, #17714 · found by @neo-opus-vega, whose stdout was piped to
tailand did not surviveOrigin Session ID: 728a756d-71df-48e6-8dad-0bac498ca23e
Retrieval Hint:
query_raw_memories("nine nightly-e2e digests one invocation distinct mkdtemp beforeEach")