You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: main red at 215887542f2e: packages/ui-server/tests/declaration-surface.test.ts #4186
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.
Same failure as #4142. `unit (4)` in run 44096292239 timed out `emitted declaration graph > no public .d.ts references an optional backend package` at 30,571 ms against the 30,000 ms deadline. There was no assertion failure, and the job's memory samples show the runner near its cgroup peak at the time. #4142 records the same case timing out on another head (30,789 ms) and a controlled one-CPU reproduction on unchanged source (35,066 ms). The first-bad squash 2158875 (#4183) changes only `ui-react` source, a ui-react runtime test and the runtime-build inventory. It does not touch the ui-server declaration graph that test emits.
Fix claimed by worker claim-f25aa04e (orchestrator orch-t3-b75c6ecb).
Main red at 215887542f2e (record run 44096292239).
Claim term ends 2026-11-17T15:15:23.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.
Choice: **fix PR**, implementing #4142. Not a revert.
**Cause evidence.**
- The failing case is `emitted declaration graph > no public .d.ts references an optional backend package`. It timed out at 30,571 ms against the 30,000 ms deadline, with no assertion failure.
- It builds one TypeScript program from `packages/ui-server/tsconfig.build.json` (1,570 source files, including ui-sdk and core source through the `bun` condition) and emits every declaration.
- Profiled on current main (146dfb4, Bun 1.4.4, TypeScript 6.0.3, unloaded): config 9 ms, program 1.0–1.1 s, declaration emit 9.2–10.0 s for 414 `.d.ts`.
- #4142 already reproduces the same timeout under a one-CPU control on source that predates #4183 (35,066 ms).
**Dependency and conflict assessment.**
- The first-bad squash 2158875 (#4183) changes only `ui-react` source, a ui-react runtime test and the runtime-build inventory. None of these is in the ui-server program the test emits, so a revert would not remove the cause.
- The same failure would recur on any head under the same contention.
**Repair.**
- Emit with `noCheck: true`. That is still real declaration emit from the package's build config. It skips only the full semantic check of function bodies, which the repository typecheck already owns.
- Measured: emit 9.5 s → 2.0 s.
- With and without it, the same 414 files are emitted, and every file's set of import specifiers (the thing this guard scans) is identical. Ten files differ only in union-member order.
- The deadline stays at 30 s. The source-AST case and the type-level descriptor assertions are unchanged.
The expedited fix proof for #4187 dispatched `red-main-probe.yml` (purpose `fix`, run 44102969679) at the bad base `146dfb4b398c`. `declaration-surface.test.ts` passed there, so `confirm --fixes-main-run 44096292239` refused: the failing test was not shown red on the bad base. This fits a load-dependent timeout. The hosted failure was 30.6 s against a 30 s deadline on a worker near its memory peak. A probe on an idle runner takes about 10 s (unloaded locally: 9.2–10.0 s for the emit). The same case does fail on unchanged source under a controlled one-CPU load (45.2 s here, 35.1 s in #4142). #4187 now goes through ordinary confirmation as the declared fix. The next main run, which includes this test, is the backstop that clears the record.
Cause: the case emits all 414 ui-server declarations from a 1,570-file program with the full semantic check: 9.5 s unloaded, 45.2 s on one contended CPU, against a 30 s deadline. It timed out at 30.6 s on a worker near its memory peak. The first-bad squash 2158875 (fix(ui-react): start passkey autofill only beside a password field (#2555) #4183) did not reach it.
Fix: the emit passes noCheck (2.0 s unloaded, 13.6 s under the same load) and emits the same files with the same import specifiers. The deadline is unchanged.
Activity
schlessera commentedon Nov 17, 2026
Red-main evidence: duplicate
215887542f2e(record run 44096292239)claim-f25aa04e, orchestratororch-t3-b75c6ecb(contributor)schlessera commentedon Nov 17, 2026
Fix claimed by worker
claim-f25aa04e(orchestratororch-t3-b75c6ecb).215887542f2e(record run 44096292239).bun scripts/red-main-incident.ts renew. After it ends, any orchestrator may take the fix over withclaim.bun scripts/red-main-incident.ts evidence; do not open another incident.schlessera commentedon Nov 17, 2026
Red-main evidence: decision
215887542f2e(record run 44096292239)claim-f25aa04e, orchestratororch-t3-b75c6ecb(claimant)215887542f2ebd1821402bcb0d78b2978c2b9127schlessera commentedon Nov 17, 2026
Red-main evidence: reproduction
215887542f2e(record run 44096292239)claim-f25aa04e, orchestratororch-t3-b75c6ecb(claimant)146dfb4b398c5c8d313a48dbd9e745327ba5c51fgithub-actions commentedon Nov 17, 2026
Squash
146dfb4b398c5c8d313a48dbd9e745327ba5c51ffrom #4157 landed while red without being a declared fix (main run https://github.com/schlessera/brain-kit/actions/runs/44099887689).test(ui-server): emit the declaration graph without the body check (#…
github-actions commentedon Nov 17, 2026
Main is green again: run https://github.com/schlessera/brain-kit/actions/runs/44107659969 at
e982c1c0d998dced8dfaeb7f82ea02002f0edad6included the failing set and passed. The red-main record is cleared.schlessera commentedon Nov 17, 2026
Recovered. Main is green and the red-main record is cleared.
e982c1c0d, which includedpackages/ui-server/tests/declaration-surface.test.tsand passed.e982c1c0dthrough ordinary confirmation. The expedited path refused it because the hosted fix probe passed the test on the bad base: the failure is a load-dependent timeout, not a deterministic one.noCheck(2.0 s unloaded, 13.6 s under the same load) and emits the same files with the same import specifiers. The deadline is unchanged.