Skip to content

ci: main red at 41b6221dddbc: packages/ui-server/tests/app-wiring.test.ts #3538

Closed

Description

@github-actions

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

Failing tests and categories:

Hosted proof whose merge ref contains this commit is refused or cancelled, and integrate.ts refuses ordinary confirmation and merges, until a main run that includes this failing set 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 3, 2026
  2. self-assigned this
    on Nov 3, 2026
  3. schlessera commented on Nov 3, 2026

    @schlessera
    Owner

    Fix claimed by worker orch-0988fe94 (orchestrator orch-0988fe94).

    • Main red at 41b6221dddbc (record run 41696873425).
    • Claim term ends 2026-11-03T20:20:55.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 3, 2026

    @schlessera
    Owner

    Red-main evidence: decision

    Choice: fix, using #3529 (merged as bb91defdc).
    
    The failing test, packages/ui-server/tests/app-wiring.test.ts, threw from native-journal-observer close() at shutdown, in run 41696873425: "native checkpoint(s) remain retained after shutdown … no recorded checkpoint lease". That is #3521.
    
    #3529 fixes the race. The observer checks the signal before recording a checkpoint id as retained, so an aborted checkpoint never leaves an unleased id behind. Two deterministic tests reproduce the exact production error without the fix and pass with it. app-wiring passed 10/10 on #3529's branch, and #3529's full ready proof (run 41686632644) passed.
    
    Main at bb91defdc and later contains the fix. The next green main run that includes app-wiring clears this incident.
    
  5. github-actions commented on Nov 3, 2026

    @github-actions
    Author

    Squash 87b913e88825f650c8d22b164a5b1132fbf968a9 from #3532 landed while red without being a declared fix (main run https://github.com/schlessera/brain-kit/actions/runs/41698152728).

  6. schlessera commented on Nov 3, 2026

    @schlessera
    Owner

    Red-main evidence: related

  7. github-actions commented on Nov 3, 2026

    @github-actions
    Author

    Squash 5344dbf21a731b76d2695baf78ce11a92b899d82 from #3535 landed while red without being a declared fix (main run https://github.com/schlessera/brain-kit/actions/runs/41699187586).

  8. github-actions commented on Nov 3, 2026

    @github-actions
    Author

    Squash bb91defdcbb5b7f0b81937db12a07a4c5343d1a5 from #3529 landed while red without being a declared fix (main run https://github.com/schlessera/brain-kit/actions/runs/41701339490).

  9. schlessera commented on Nov 3, 2026

    @schlessera
    Owner

    Red-main evidence: fix-attempt

  10. github-actions commented on Nov 3, 2026

    @github-actions
    Author

    Squash 5312d676078a757c651c07fe51834340984ede36 from #3539 landed while red without being a declared fix (main run https://github.com/schlessera/brain-kit/actions/runs/41704207438).

  11. github-actions commented on Nov 3, 2026

    @github-actions
    Author

    Squash 29799ebcd8d0ca8321f84709db53337c72c24ebb from #3542 landed while red without being a declared fix (main run https://github.com/schlessera/brain-kit/actions/runs/41714104686).

  12. github-actions commented on Nov 3, 2026

    @github-actions
    Author

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

  13. schlessera commented on Nov 3, 2026

    @schlessera
    Owner

    Cleared by main run 41714104686 on 29799ebcd. Fixes: #3529 (app-wiring shutdown race, #3521) and #3539 (module-diagrams producer-pin audit).

  14. added this to the 0.45.0 milestone on Nov 3, 2026
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