You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every failure here is post-merge proof, which ready confirmation does not run, so ordinary confirmation and merges continue. Each main run includes this failing set until one is green.
Declare a fix or targeted revert PR with bun scripts/integrate.ts declare-fix <pr>; the first confirmed fix wins. Only a green main run that includes this failing set clears the record, so a failure that does not reproduce still needs a declared fix to land.
One orchestrator owns the fix: it claims it with bun scripts/red-main-incident.ts claim --worker <id> --orchestrator <id>, which writes the claim into the red-main record. After a quick assessment the claimant chooses a fix PR or a targeted revert PR from causal and current-tree evidence, and records that choice and its rationale here as decision evidence; a red check or the latest squash alone is not proof of cause. Every other orchestrator adds evidence here with bun scripts/red-main-incident.ts evidence ... instead of opening another issue.
Fix claimed by worker claim-r4250-b75c (orchestrator orch-t3-b75c6ecb).
Main red at c2870f8ce44b (record run 44213143475).
Claim term ends 2026-11-18T02:29:38.000Z; the claimant renews it with bun scripts/red-main-incident.ts renew. After it ends, any orchestrator may take the fix over with claim.
Everyone else: add evidence here with bun scripts/red-main-incident.ts evidence; do not open another incident.
Summary:perf(ui-react): parse a streaming answer block by block (#2588) #4240 defers the growing tail's re-parse, so connection-refusals.visual.tsx:67 reading the reply synchronously after a flushSync'd delta sees the previous text for one render. Product is as designed; fix: the test polls for the deferred render.
## Causal
Main run 44213143475 at c2870f8 (#4240) failed `browser (3)`: `packages/ui-kit/tests/visual/connection-refusals.visual.tsx`, all four theme/width cases, at line 67. The test expected the text to contain "The fleet is still crossing the harbour. Still sailing.", but the received text ended at "…the harbour." with no " Still sailing.".
#4240 renders the growing last markdown block through `useDeferredValue`. A delta applied inside `flushSync` commits urgently with the previous tail text, and the new text renders on the next, deferred commit. The test reads `textContent` straight after `flushSync`, so it sees the earlier text. #4240's PR body names this behaviour change and updates two browser tests (`code-fences-plain`, `renderer-dispatch`) to poll. This visual test in ui-kit was missed.
## Current tree
The failure is in the test's timing assumption, not in the product. The reply keeps the partial text throughout, and the appended text renders on the following commit. A fix keeps #4240's performance change and makes line 67 wait for the deferred render with `expect.poll`, as `code-fences-plain` does. Reverting would undo the #2588 speed-up, which every other main job passed with.
Added to this incident by that run:autonomous-envelope.test.ts "finishing the turn stops its relay". It counted relay directories in the shared temp directory, so it also counted one another test process created at the same time. Fixed by test(ui-backend-claude): count relay directories in a private temp directory (#4250) #4253, which gives the file a private TMPDIR. It fails unfixed under a contention loop and passes fixed.
Activity
schlessera commentedon Nov 18, 2026
Fix claimed by worker
claim-r4250-b75c(orchestratororch-t3-b75c6ecb).c2870f8ce44b(record run 44213143475).bun scripts/red-main-incident.ts renew. After it ends, any orchestrator may take the fix over withclaim.bun scripts/red-main-incident.ts evidence; do not open another incident.schlessera commentedon Nov 18, 2026
Red-main evidence: decision
c2870f8ce44b(record run 44213143475)claim-r4250-b75c, orchestratororch-t3-b75c6ecb(claimant)c2870f8ce44bcf68ea7866b5fd149c741a135e74schlessera commentedon Nov 18, 2026
Red-main evidence: fix-attempt
c2870f8ce44b(record run 44213143475)claim-r4250-b75c, orchestratororch-t3-b75c6ecb(claimant)98fb26073c1d3237ec2da809d635c9cd92c57c5atest(ui-kit): wait for the deferred tail in the frame-refusals case (#…
schlessera commentedon Nov 18, 2026
Red-main evidence: fix-attempt
c2870f8ce44b(record run 44213143475)claim-r4250-b75c, orchestratororch-t3-b75c6ecb(claimant)396a0b5e30381528a696af91906966ffe17254cftest(ui-backend-claude): count relay directories in a private temp di…
github-actions commentedon Nov 18, 2026
Main is green again: run https://github.com/schlessera/brain-kit/actions/runs/44225767895 at
e2c66421f7448a4cff6f999f9b5ee01abb181e2cincluded the failing set and passed. The red-main record is cleared.schlessera commentedon Nov 18, 2026
Recovered. Main run 44225767895 at e2c6642 (#4253) passed every selected job, and the red-main record shows
clearfor that run.connection-refusals.visual.tsxread the reply right after aflushSync'd delta, but perf(ui-react): parse a streaming answer block by block (#2588) #4240 renders the growing tail at deferred priority. Fixed by test(ui-kit): wait for the deferred tail in the frame-refusals case (#4250) #4251, which makes the test poll for the appended text. Main run 44219495479 at 7a15151 then passed all browser shards.autonomous-envelope.test.ts"finishing the turn stops its relay". It counted relay directories in the shared temp directory, so it also counted one another test process created at the same time. Fixed by test(ui-backend-claude): count relay directories in a private temp directory (#4250) #4253, which gives the file a privateTMPDIR. It fails unfixed under a contention loop and passes fixed.