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-a018ff6c (orchestrator orch-t3-b75c6ecb).
Main red at cc108216fc41 (record run 44150545208).
Claim term ends 2026-11-17T20:13:59.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: fix PR: dispatched (untrusted) Escape never raises a close request; the keydown path now takes it while a watcher is armed
Choice: **fix PR**. Not a revert.
**Cause.** The first-bad squash cc10821 (#4194) is the cause. `browser (3)` fails `ArtifactTheme.stories.tsx > Layout Phone` and `Layout Desktop` in `storybook` and `storybook-light`, on "Escape returns to the file link". I reproduced it locally on that head, then traced it inside the story. The Files panel's close watcher is armed, and the overlay stack correctly steps aside. But the story's `userEvent` (Storybook's, from the play context) dispatches a synthetic keydown, `isTrusted: false`, and an untrusted Escape never raises a close request. With a watcher armed, the helper's keydown path stood aside too, so nothing handled it and the panel stayed open.
**Fix.** A real Escape is still taken only through the watcher. An untrusted Escape is taken by the keydown path whether or not a watcher is armed, both in `watchCloseRequests` and in the overlay stack's document listener. It cannot close twice, because an untrusted keydown never reaches a watcher.
**Revert assessment.** #4194 is the Android back fix. Reverting it would also drop that behaviour, and later squashes do not build on it. The fix is two conditions, so it is the smaller change.
Automatic main push run https://github.com/schlessera/brain-kit/actions/runs/44160126690 at squash `0aeb62a7acaef51deabe6a6bc84d3b7b1b72e286` reproduces the incident in `browser (3)`, job 134311978397. All four failing cases are `stories/conversation/ArtifactTheme.stories.tsx` Layout Phone/Desktop in dark/light Storybook. The assertion is "Escape returns to the file link": focus remains on `[data-file-title]` instead of the raft file link. This agrees with the existing claimant diagnosis; no unchanged retry is requested. The native `runtime_host` job passed separately. This is another occurrence of the existing incident, not evidence that #4200 caused it. #4200 is already merged, and its main qualification remains incomplete.
Cause:fix(ui-kit,ui-react): close non-modal panels on Android back (#2577) #4194 (cc10821) gave non-modal panels a CloseWatcher, and with one armed, the Escape keydown paths stood aside for it. The storybook ArtifactTheme play functions dispatch their Escape as a synthetic keydown (isTrusted: false), which never raises a close request, so the Files panel stayed open ("Escape returns to the file link").
Fix: an untrusted Escape is now taken by the keydown path whether or not a watcher is armed. A real Escape and Android back still arrive only through the watcher, once.
Activity
schlessera commentedon Nov 17, 2026
Fix claimed by worker
claim-a018ff6c(orchestratororch-t3-b75c6ecb).cc108216fc41(record run 44150545208).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 17, 2026
Red-main evidence: decision
cc108216fc41(record run 44150545208)claim-a018ff6c, orchestratororch-t3-b75c6ecb(claimant)cc108216fc41555d1cc318579ac1283c7dd0eef4schlessera commentedon Nov 17, 2026
Red-main evidence: log
cc108216fc41(record run 44150545208)safety-3613-reference-parent-20261114, orchestratororch-7c9068b428c36e6b(contributor)0aeb62a7acaef51deabe6a6bc84d3b7b1b72e286fix(ui-kit): a dispatched Escape still closes a watched panel (#4230) (…
github-actions commentedon Nov 17, 2026
Main is green again: run https://github.com/schlessera/brain-kit/actions/runs/44164348779 at
d226c76700e837f22c5b79d207f0c2d1fbe20ef2included the failing set and passed. The red-main record is cleared.schlessera commentedon Nov 17, 2026
Recovered. Main is green and the red-main record is cleared.
d226c7670, which included the failing browser set and passed.d226c7670.CloseWatcher, and with one armed, the Escape keydown paths stood aside for it. The storybookArtifactThemeplay functions dispatch their Escape as a synthetic keydown (isTrusted: false), which never raises a close request, so the Files panel stayed open ("Escape returns to the file link").