Skip to content

ci: main red at ddb5b5c846b0: browser #4170

Closed

Description

@github-actions

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

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: fixSomething is broken and must behave the way it is documented.
    area: ciCI workflows, the gates they run, release scripts, packaging.
    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 wi-20261117-cipipe (orchestrator orch-t3-9898b0a0).

    • Main red at ddb5b5c846b0 (record run 44056470471).
    • Claim term ends 2026-11-17T11:02:41.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. added this to the 0.45.0 milestone on Nov 17, 2026
  5. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Red-main evidence: decision

    Cause: a race in the spec, exposed when the browser weights refresh (#4165) changed which specs share a shard. The mic swallows the release's click for one second after a cancelled hold. The spec slept 700 ms after the cancel and then sent the return and the release as two commands; on a loaded runner that outlasted the second and the click counted as a tap.
    
    Evidence, in the pinned container on a development host:
    - Main's spec with its sleep raised from 700 to 1,100 ms fails both mouse widths with the incident's assertion: `a cancelled hold does not dictate: expected 'dictate' to be 'idle'`.
    - The fixed spec passes on rail-fine, rail-coarse and rail-mixed (35 tests).
    - With the cancel leaving the hold's timer running, the fixed spec fails.
    
    Fix: PR #4172, declared for this record. The return and the release go in one command straight after the cancel; the check that the cancelled hold never completes waits from the press. Two independent reviews are recorded on it: the first found two gaps (one fixed, one filed as #4174: nothing pins the guard's duration any more), the second found nothing.
    
  6. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Red-main evidence: log

    Main run 44064404433 at `c26fb229fa1e` (#4167, which changes only backend and server edit code) failed `browser (3)` in the same spec: `composer-mic.pointer.tsx > leaving the mic cancels the hold, and nothing is captured after it mouse 320`. The assertion differs from the incident's: `mouse: the next tap dictates: expected 'conversation' to be 'dictate'` at line 210. That is the step after the cancel, where `press` and `lift(…, 100)` go as two commands and the release arrived after the 0.6 s hold, so the tap opened a conversation.
    
    PR #4172 at `653ba642b` replaces exactly that pair with `tap(kind, at, 100)` (one command), so this assertion is the same race and is covered by the declared fix. Run 44060484832 at `5f7f69276` also failed `browser (2)` and `browser (3)`.
    
  7. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Red-main evidence: log

    • Incident: main red at ddb5b5c846b0 (record run 44056470471)
    • From: worker safety-3613-reference-parent-20261114, orchestrator orch-7c9068b428c36e6b (contributor)
    • SHA: b77f5d6ece1bb2d82f9ed4daaea21d2a679db280
    • Summary: Test-only squash test(experiments): assert synchronous Git revision refusal #4036 reproduces the recorded cancelled-hold pointer failure; main browser qualification remains open
    PR #4036 merged as `b77f5d6ece1bb2d82f9ed4daaea21d2a679db280`, parent `c26fb229fa1ef920ce219e77256e859e9982c263`. The squash changes only `experiments/git-read-qualification.test.ts`; the composer and pointer spec are unchanged.
    
    Its automatic main CI run [44074357423](https://github.com/schlessera/brain-kit/actions/runs/44074357423), attempt 1, fails [browser (3), job 134008874543](https://github.com/schlessera/brain-kit/actions/runs/44074357423/job/134008874543) in `packages/ui-react/tests/browser/composer-mic.pointer.tsx`:
    
    `leaving the mic cancels the hold, and nothing is captured after it mouse 320`
    
    `mouse: a cancelled hold does not dictate: expected 'dictate' to be 'idle'`
    
    This reproduces the cancel race recorded in this incident's decision and covered by declared fix #4172. The browser shard reports 3342 passing tests and this one failure. Runtime, runtime_host, both layout shards, captures and endurance passed in the observed main results. Selected main qualification remains unfinished.
    
    The experiment correction's candidate run 44071834814 passed all 12 active jobs. Each selected test-job checkout was independently audited as `669fd9c41ab599f2e71f894650c204be351abb66`, with parents main `c26fb229fa1ef920ce219e77256e859e9982c263` then head `b8bfa18c25fd10773641fc3d0fc254605311c8b1`; tree `40a6db77bcb606795a66b58da233114374738c38` matches the actual squash. The ordinary helper exited 2 and released its owned main reservation.
    
  8. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Fix claimed by worker wi-20261117-cipipe (orchestrator orch-t3-9898b0a0).

    • Main red at ddb5b5c846b0 (record run 44056470471).
    • Claim term ends 2026-11-17T13:17:07.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.
  9. schlessera commented on Nov 17, 2026

    @schlessera
    Owner

    Red-main evidence: decision

    Choice: targeted revert first, then the fix.
    
    Every main run since the browser weights refresh (#4165) has failed `browser` in `composer-mic.pointer.tsx`: 44056470471, 44060484832, 44064404433 and 44074357423. The refresh changed which specs share a shard; the spec's gestures sleep between input commands and race the mic's 0.6 s hold and its one-second click guard there. The weights are sound and no product code is involved.
    
    - **Revert:** PR #4182 restores the previous weights, the layout on which `browser` was green. It reverts one file and conflicts with nothing later.
    - **Fix:** PR #4172 rewrites the spec's gestures as single commands and asserts from a timeline the page records. Independent reviews keep finding coverage it must not lose, so it is not ready to merge within the two-hour recovery bound.
    - **After both:** the refreshed weights are re-landed (#4162, reopened).
    
    Dependency and conflict assessment: the revert touches only `scripts/browser-shard-costs.json`; no merged change since depends on the refreshed weights.
    
  10. github-actions commented on Nov 17, 2026

    @github-actions
    Author

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

  11. 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: ciCI workflows, the gates they run, release scripts, packaging.type: fixSomething is broken and must behave the way it is documented.

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions