Skip to content

ci: main red at c2870f8ce44b: browser #4250

Closed

Description

@github-actions

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

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 18, 2026
  2. self-assigned this
    on Nov 18, 2026
  3. schlessera commented on Nov 18, 2026

    @schlessera
    Owner

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

    @schlessera
    Owner

    Red-main evidence: decision

    • Incident: main red at c2870f8ce44b (record run 44213143475)
    • From: worker claim-r4250-b75c, orchestrator orch-t3-b75c6ecb (claimant)
    • SHA: c2870f8ce44bcf68ea7866b5fd149c741a135e74
    • Choice: fix PR
    • 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.
    
  5. schlessera commented on Nov 18, 2026

    @schlessera
    Owner

    Red-main evidence: fix-attempt

  6. added this to the 0.45.0 milestone on Nov 18, 2026
  7. schlessera commented on Nov 18, 2026

    @schlessera
    Owner

    Red-main evidence: fix-attempt

  8. github-actions commented on Nov 18, 2026

    @github-actions
    Author

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

  9. schlessera commented on Nov 18, 2026

    @schlessera
    Owner

    Recovered. Main run 44225767895 at e2c6642 (#4253) passed every selected job, and the red-main record shows clear for that run.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions