Skip to content

ci: main red at 40dbae0a2f33: packages/ui-react/tests/tracker-runtime.test.ts #3973

Closed

Description

@github-actions

Resolved: main was red at 40dbae0a2f332eb20c52c2a967611894ca30d289 (first failing main run: https://github.com/schlessera/brain-kit/actions/runs/42995520839).

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.

Possibly related open issues: #2551.

Recovery completed — 2026-11-11

Fix #3980 merged as 0f6296a791061c5343230e303117f8278093340b, parent 40dbae0a2f332eb20c52c2a967611894ca30d289, tree 33b79f83e2eccdffb2c68f775cb59561e6397b50. Its exact-candidate run 43008356069 passed all eight selected jobs. Automatic recovery main run 43012208838, attempt 1, passed all 17 selected jobs, including the original failing tracker set and final integrated aggregate. Actual checkout identities were independently checked in all 17 job logs. All 13 mounted tracker browser cases, all 35 actual provider-history cases and all four healthy native hosted backend/UID cells passed; the separate intentional native negative control was verified.

The shared record is cleared and main-status --json reports red: false. The original main run remains failed. The controlled 503 regression proves a matching bug class rather than retrospectively claiming an unrecorded response sequence. #3414 retains its separate stacked parallel-session qualification. This incident is resolved and ordinary confirmation may resume.

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

    @schlessera
    Owner

    Fix claimed by worker wi-20261111-tracker-hydration (orchestrator orch-7c9068b428c36e6b).

    • Main red at 40dbae0a2f33 (record run 42995520839).
    • Claim term ends 2026-11-11T10:57:27.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 11, 2026

    @schlessera
    Owner

    Red-main evidence: decision

    • Incident: main red at 40dbae0a2f33 (record run 42995520839)
    • From: worker wi-20261111-tracker-hydration, orchestrator orch-7c9068b428c36e6b (claimant)
    • SHA: 40dbae0a2f332eb20c52c2a967611894ca30d289
    • Choice: uncertain: neither a fix nor a revert is supportable yet
    • Summary: Cold-reload announcement failed in hosted main; local browser controls pass, so no revert is justified yet.
    The sole hosted failure is the mounted tracker cold-reload assertion: expected an empty live region, received "The voyage home is done." Unit job 130439044781 in main run 42995520839 names tracker-runtime.test.ts:282:89. The other selected categories and unit shards passed.
    
    The original tablet selector passes locally with the required browser dependencies. A full 12-case real Chromium run with temporary state tracing also passes (128 assertions). These controls do not invalidate the hosted failure or qualify delivery. The initial local browser launch failed for missing shared libraries before any assertion; that run is setup evidence only.
    
    The squash changes server relay/session binding and provider-history host fixtures, but does not change the tracker announcer, client or mounted tracker test. A latest-commit attribution or revert is therefore not justified. Current investigation records reconnect frames, recovery responses and client state under slower browser execution. The remaining evidence is an executable ordering that reaches the hosted assertion, followed by a narrowly scoped repair and restored control.
    
    No source repair or revert is selected yet. Existing chat and owner Settings changes remain separate, and ordinary confirmation stays held while unit main is red. Issue 2551 concerns low-space turn admission timeouts rather than this reload announcement assertion, so it is related context rather than the same failure.
    
  5. schlessera commented on Nov 11, 2026

    @schlessera
    Owner

    Red-main evidence: related

  6. schlessera commented on Nov 11, 2026

    @schlessera
    Owner

    Red-main evidence: decision

    • Incident: main red at 40dbae0a2f33 (record run 42995520839)
    • From: worker wi-20261111-tracker-hydration, orchestrator orch-7c9068b428c36e6b (claimant)
    • SHA: 40dbae0a2f332eb20c52c2a967611894ca30d289
    • Choice: fix PR
    • Summary: Use a current-main forward fix for repeated tracker announcements across unread recovery states and discarded markers.
    Current-main reproduction at 40dbae0a2f332eb20c52c2a967611894ca30d289:
    
    The announcer records every settled view as its baseline. After a known completion, an unavailable or unknown read replaces that baseline, so a later successful read of the same turn announces completion again. Original-main product source plus the new real-browser regression reaches RECOVERY_DOES_NOT_REANNOUNCE_OLD_COMPLETION: expected an empty region, received "The voyage home is done." The case establishes a cold completed baseline, injects a 503 at the browser request boundary, then recovers through the real host. Chat stays covered so seen observation cannot remove the tracker, and recovery starts no new work. This is a sufficient matching bug class; the original hosted run has no response trace establishing that it used a 503.
    
    The source already has an independently developed repair in PR #3437 (head ce943f3dff8ec8cd90c1f5718f9f3c2e78326398), stacked on other parallel-session work. Its product source and issue #3414 were inspected. Reuse its established-baseline semantics on current main: once a baseline exists, unavailable/unknown observations do not replace it. A first settled unavailable view retains its existing behavior and may announce what a later read learns. A related marker-lifecycle control also reproduces a false first announcement after an unsettled tracker disappears; clear that marker when its tracker disappears.
    
    Chosen fix: a small current-main forward repair, with the established source behavior above, per-tracker marker cleanup, the real browser regression and focused controls. It preserves displayed tracker states, genuine new-state/new-turn announcements, session binding, authority and provider history. The final local head is 5cf9cad26bc40492378976940ce449d46ac92532. All 124 tracker tests and 449 assertions pass, including the original 12 browser cases and the added regression. Both source mutations fail their named behavioral assertions and exact restored controls pass. Strict typecheck and all five preflight gates pass; preflight runs 804 tests. Version-matched browser proof uses Bun 1.4.2 and Chrome 156.0.8078.79.
    
    Dependency/conflict assessment: no ancestor UI changes from #3437 are required by this isolated announcer repair. #3414 keeps its remaining stacked parallel-session qualification and is referenced rather than closed. PR #3979 touches the runtime fixture only to add its free-space prerequisite; preserve that independent addition during any future refresh. The separate #3977 safety-target fix and #3662 chat feature remain separate. Complete selected hosted candidate proof and green main recovery remain required; local proof alone does not clear the incident.
    
  7. added this to the 0.45.0 milestone on Nov 11, 2026
  8. added
    area: ui-reactReact chat/files/voice components, stores, WebSocket transport.
    on Nov 11, 2026
  9. schlessera commented on Nov 11, 2026

    @schlessera
    Owner

    Red-main evidence: log

    • Incident: main red at 40dbae0a2f33 (record run 42995520839)
    • From: worker wi-20261111-tracker-hydration, orchestrator orch-7c9068b428c36e6b (claimant)
    • SHA: 0f6296a791061c5343230e303117f8278093340b
    • Summary: Fix fix(ui-react): keep tracker recovery from repeating announcements #3980 merged with qualified candidate proof; automatic recovery main 43012208838 remains incomplete.
    Recovery fix #3980 merged through ordinary exact-candidate confirmation as 0f6296a791061c5343230e303117f8278093340b, parent 40dbae0a2f332eb20c52c2a967611894ca30d289 and tree 33b79f83e2eccdffb2c68f775cb59561e6397b50. Candidate run 43008356069 attempt 1 passed all eight selected jobs; actual checkouts, immutable parents/tree, thirteen mounted tracker browser cases and all 35 actual provider-history cases were independently matched. Six heavy categories were intentionally unselected on that candidate.
    
    Automatic recovery main run 43012208838 at the squash remains in progress. Twelve completed selected jobs have independently verified checkout identities and successful conclusions. Native host admission includes four healthy backend/UID cells and the deliberate automatic-index negative control; runtime, all browser shards, captures and endurance also passed. Three unit shards and layout shard 2 remain pending at this checkpoint. Original failed run 42995520839 remains failed. No recovery-main qualification or incident closure is claimed, and ordinary non-fix confirmation remains held.
    
  10. github-actions commented on Nov 11, 2026

    @github-actions
    Author

    Main is green again: run https://github.com/schlessera/brain-kit/actions/runs/43012208838 at 0f6296a791061c5343230e303117f8278093340b included the failing set and passed. 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.area: ui-reactReact chat/files/voice components, stores, WebSocket transport.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