Skip to content

ci: main red at b9fb28b6bc8f: layout #3419

Closed

Description

@github-actions

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

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

    @schlessera
    Owner

    Red-main evidence: ruled-out

    The only failing test in main run 41560483270 is `layout (1)` (job 125670017194): `packages/ui-react/tests/browser/recording-limits.offline.tsx` > "registered wall backstop finalizes native audio as interrupted".
    
    ```
    - "message": "Recording stopped. Saved up to 0:00; the end may be missing.",
    + "message": "Recording stopped. Saved up to 0:01; the end may be missing.",
      "savedThroughMs": 1020,
    ```
    
    The assertion at `recording-limits.offline.tsx:332` compares the event to a hard-coded `Saved up to 0:00` message. But `savedThroughMs` comes from the row, which a real native `MediaRecorder` advances in real time; the test's own comment at lines 310-313 says so. The test only bounds it to `0 < savedThroughMs < 10_000`. Any run where capture passes 1000 ms before the registered stop fires gets `0:01`, a correct message for 1020 ms. So the expectation depends on timing.
    
    The first bad commit, `b9fb28b6b`, is the merge of #3368 (epic #2539, sub-PR #3310). Its diff touches only `packages/common/src/claude-subscription.ts`, `packages/core/src/providers/agents/claude-subscription.ts`, `packages/ui-backend-claude/src/subscription.ts`, their tests, the README, api-report, a decision doc and a changeset. None of those reaches the ui-react recording store or this test. The same layout shards passed on the identical merged tree in #3368's confirmation run 41558243826.
    
  3. self-assigned this
    on Nov 3, 2026
  4. schlessera commented on Nov 3, 2026

    @schlessera
    Owner

    Fix claimed by worker wi-20261103-land2ac8 (orchestrator orch-land2ac8).

    • Main red at b9fb28b6bc8f (record run 41560483270).
    • Claim term ends 2026-11-03T02:56:45.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.
  5. added this to the 0.45.0 milestone on Nov 3, 2026
  6. schlessera commented on Nov 3, 2026

    @schlessera
    Owner

    Red-main evidence: decision

    Cause: #3226 added a hard-coded `Saved up to 0:00` at `recording-limits.offline.tsx:332`, but the test records native audio in real time and only bounds `0 < savedThroughMs < 10_000`. Main run 41560483270 stopped at 1020 ms, so production correctly reported `0:01`.
    
    Reproduced in the pinned image with a slow-runner probe (a 1.5 s real delay before the registered callbacks): it fails on b9fb28b6b with the CI signature (`0:00` expected, `0:02` received at 2100 ms), and passes with the fix both with and without the probe.
    
    Dependencies and conflicts: this is a test-only change to one assertion plus a local formatter. A revert of #3368 would not help: its diff never reaches this test, and the same tree passed in its confirmation run 41558243826. Fix PR: #3420.
    
  7. github-actions commented on Nov 3, 2026

    @github-actions
    Author

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

  8. schlessera commented on Nov 3, 2026

    @schlessera
    Owner

    Recovery proof: the declared fix #3420 landed as squash 73399833ee590f516825b80d4abaab6be2c40672, with candidate run 41564001216 against base b9fb28b6b. Main run 41566290391 on that commit includes the failing layout set and finished success. The red-main record cleared on that run (last.action: clear).

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