Skip to content

ci: main red at cc108216fc41: browser #4230

Closed

Description

@github-actions

Main is red at cc108216fc41555d1cc318579ac1283c7dd0eef4 (first failing main run: https://github.com/schlessera/brain-kit/actions/runs/44150545208).

Failing tests and categories:

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.

Activity

  1. added
    type: fix
    area: ci
    on Nov 17, 2026
  2. self-assigned this
    on Nov 17, 2026
  3. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    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.
  4. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Red-main evidence: decision

    • Incident: main red at cc108216fc41 (record run 44150545208)
    • From: worker claim-a018ff6c, orchestrator orch-t3-b75c6ecb (claimant)
    • SHA: cc108216fc41555d1cc318579ac1283c7dd0eef4
    • Choice: fix PR
    • 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.
    
  5. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Red-main evidence: log

    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.
    
  6. github-actions commented on Nov 17, 2026

    @github-actions
    Author

    Main is green again: run https://github.com/schlessera/brain-kit/actions/runs/44164348779 at d226c76700e837f22c5b79d207f0c2d1fbe20ef2 included the failing set and passed. The red-main record is cleared.

  7. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Recovered. Main is green and the red-main record is cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: citype: fix

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions