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
area: ciCI workflows, the gates they run, release scripts, packaging.priority: p1Scheduled into the current or next milestone.type: fixSomething is broken and must behave the way it is documented.
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 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.
Claiming (token wi-3315-c0324c45). Branch fix/3315-artifact-static-loading from origin/main c23a581. Plan: root-cause the REDUCED_MOTION_STATIC_LOADING failure in the artifact full state matrix, fix it deterministically, then declare the PR with integrate.ts declare-fix.
Incident owner's decision: fix (hardening), declared as #3334. The maintainer chose this route under the 2026-11-02 recovery ruling on #2934.
Evidence:
The failing assertion was REDUCED_MOTION_STATIC_LOADING in packages/ui-react/tests/artifact-recovery-runtime.test.ts:410, only in the light 1280 case. dark 320 passed in the same run.
Not reverted, because nothing here points at #3279. The root cause is tracked in #3333. The record clears when #3334's main run, which includes the red set, is green.
Root cause found for the light 1280 failure, with evidence that #3334 does not close it. I'm reporting this to the incident owner. I have not opened a competing PR or touched #3334. Claim token wi-3315-c0324c45 stands down.
Cause. The assertion reads every .bk-ghost on the page. At 1280 the Files panes also mount the tree's Loading files frame (FileTreeView, Placeholder lines={4}), next to the file's own Loading file frame (5 ghosts). The tree frame unmounts as soon as its /api/files/tree listing lands. Playwright's locator.evaluateAll resolves the elements in one browser task and runs the callback in a later one. A tree ghost detached in between has getComputedStyle(el).animationName === "", so every(... === "none") fails. That explains why only 1280 fails: at 320 the tree is hidden while a file is open. No .bk-ghost ever animates, so this is not a reduced-motion regression.
Evidence, all in local real Chrome:
A DOM mutation timeline captured at the failing assertion: 172ms "File status: Loading file" g=9, then 248ms g=5. The check saw ["","","","","none","none","none","none","none"].
A minimal Playwright probe: nodes replaced from a page setTimeout(0) loop were detached inside evaluateAll callbacks 215 times in 2,000 calls. A detached element's animationName is "".
Bad base c23a5811c, under load (16 busy cores): light 1280 failed 3/40 and 2/40 with REDUCED_MOTION_STATIC_LOADING.
Deterministic forcing (temporary, not committed): hold /api/files/tree so the tree frame is mounted, then detach that frame on the first getComputedStyle call (restored on the next task). This is exactly "the listing lands between the query and the evaluation".
Base: (fail) artifact full state matrix light 1280 … REDUCED_MOTION_STATIC_LOADING, Expected true, Received false.
Deterministic fix on branch fix/3315-artifact-static-loading, head 407f1e12b, based on c23a5811c. It scopes the check to the file's own frame, which the held content route keeps mounted: page.getByRole("group", { name: "Loading file", exact: true }).locator(".bk-ghost").evaluateAll(...). The test's other checks are unchanged. There is no wait, retry or timeout change; proof-system classify says it is not a proof-system change.
Under the same 16-core load, light 1280 passed 80/80 with zero REDUCED_MOTION failures. The whole file passed 32/32.
bun run check:pr --base origin/main passed (lint/leakage, env docs, changesets, affected fast invariants: 210 pass). bun run typecheck passed (with the 4 GB heap that check-pr.ts uses).
A grep for the same shape found no other Playwright evaluateAll over a page-global selector that reads computed styles.
Suggested next step for the incident owner: replace the #3334 hunk with the scoped locator, or pick up the branch above. The two-frame wait is then unnecessary. The fix is one line plus its comment.
Later main state:e04768a3f was red for an unrelated browser failure (ci: main red at e04768a3f421: browser #3427, closed). CI for 3d3516a02 was still running when checked. Neither involves this failing set.
Decision (maintainer, 2026-11-03): close as completed. #3334 (926d1573bb) fixed the red-main failure and main push run 41504814872 passed the failing set. The root cause noted in the 2026-11-02 18:49 comment (the check reads every .bk-ghost on the page) is carried into #3333.
area: ciCI workflows, the gates they run, release scripts, packaging.priority: p1Scheduled into the current or next milestone.type: fixSomething is broken and must behave the way it is documented.
Activity
schlessera commentedon Nov 2, 2026
Claiming (token
wi-3315-c0324c45). Branchfix/3315-artifact-static-loadingfrom origin/main c23a581. Plan: root-cause theREDUCED_MOTION_STATIC_LOADINGfailure in the artifact full state matrix, fix it deterministically, then declare the PR withintegrate.ts declare-fix.schlessera commentedon Nov 2, 2026
Incident owner's decision: fix (hardening), declared as #3334. The maintainer chose this route under the 2026-11-02 recovery ruling on #2934.
Evidence:
REDUCED_MOTION_STATIC_LOADINGinpackages/ui-react/tests/artifact-recovery-runtime.test.ts:410, only in thelight 1280case.dark 320passed in the same run.c14846a6, and 41495182795 at the parentf7eb0e49.test: nullandclosure-unknown: the coordinator reads the wrong JUnit file name (ci: read the unit workers' JUnit reports when the red-main coordinator attributes a failure #3324), and aci.ymlchange makes the affected closure unknown.Not reverted, because nothing here points at #3279. The root cause is tracked in #3333. The record clears when #3334's main run, which includes the red set, is green.
schlessera commentedon Nov 2, 2026
Root cause found for the
light 1280failure, with evidence that #3334 does not close it. I'm reporting this to the incident owner. I have not opened a competing PR or touched #3334. Claim tokenwi-3315-c0324c45stands down.Cause. The assertion reads every
.bk-ghoston the page. At 1280 the Files panes also mount the tree'sLoading filesframe (FileTreeView,Placeholder lines={4}), next to the file's ownLoading fileframe (5 ghosts). The tree frame unmounts as soon as its/api/files/treelisting lands. Playwright'slocator.evaluateAllresolves the elements in one browser task and runs the callback in a later one. A tree ghost detached in between hasgetComputedStyle(el).animationName === "", soevery(... === "none")fails. That explains why only1280fails: at 320 the tree is hidden while a file is open. No.bk-ghostever animates, so this is not a reduced-motion regression.Evidence, all in local real Chrome:
172ms "File status: Loading file" g=9, then248ms g=5. The check saw["","","","","none","none","none","none","none"].setTimeout(0)loop were detached insideevaluateAllcallbacks 215 times in 2,000 calls. A detached element'sanimationNameis"".c23a5811c, under load (16 busy cores):light 1280failed 3/40 and 2/40 withREDUCED_MOTION_STATIC_LOADING./api/files/treeso the tree frame is mounted, then detach that frame on the firstgetComputedStylecall (restored on the next task). This is exactly "the listing lands between the query and the evaluation".(fail) artifact full state matrix light 1280 … REDUCED_MOTION_STATIC_LOADING, Expectedtrue, Receivedfalse.780f13661:(fail) … REDUCED_MOTION_STATIC_LOADING ["","","","","none","none","none","none","none"]. Waiting for an attached ghost plus two frames narrows the window, but the selector still includes the tree frame, which can detach at any time.Deterministic fix on branch
fix/3315-artifact-static-loading, head407f1e12b, based onc23a5811c. It scopes the check to the file's own frame, which the held content route keeps mounted:page.getByRole("group", { name: "Loading file", exact: true }).locator(".bk-ghost").evaluateAll(...). The test's other checks are unchanged. There is no wait, retry or timeout change;proof-system classifysays it is not a proof-system change.light 1280passed 80/80 with zeroREDUCED_MOTIONfailures. The whole file passed 32/32.bun run check:pr --base origin/mainpassed (lint/leakage, env docs, changesets, affected fast invariants: 210 pass).bun run typecheckpassed (with the 4 GB heap thatcheck-pr.tsuses).evaluateAllover a page-global selector that reads computed styles.Suggested next step for the incident owner: replace the #3334 hunk with the scoped locator, or pick up the branch above. The two-frame wait is then unnecessary. The fix is one line plus its comment.
test(ui-react): measure reduced-motion loading ghosts once they are a…
github-actions commentedon Nov 2, 2026
Main is green again: run https://github.com/schlessera/brain-kit/actions/runs/41504814872 at
926d1573bbbe6d4b96f5f30ba09b06e6eef7c7c2included the failing set and passed. The red-main record is cleared.fix(ci): cancel and refuse red-main proof only when its merge ref con…
fix(ci): cancel and refuse red-main proof only when its merge ref con…
schlessera commentedon Nov 3, 2026
Triage 2026-11-03 at main
3d3516a02: this incident is resolved; recommending closure by the assignee.926d1573bbbe. Main push run 41504814872 on that commit included the failingunitset and succeeded, and the coordinator cleared the red-main record (comment above).e04768a3fwas red for an unrelatedbrowserfailure (ci: main red at e04768a3f421: browser #3427, closed). CI for3d3516a02was still running when checked. Neither involves this failing set..bk-ghost(packages/ui-react/tests/artifact-recovery-runtime.test.ts:413-415). tests: find why the artifact reduced-motion loading check failed once on main #3333's body does not mention that finding yet. It belongs there, not here.Labels: added
priority: p1because the issue carries the 0.45.0 milestone. Noagent-ready, because no coding work is left on this issue.schlessera commentedon Nov 3, 2026
Decision (maintainer, 2026-11-03): close as completed. #3334 (
926d1573bb) fixed the red-main failure and main push run 41504814872 passed the failing set. The root cause noted in the 2026-11-02 18:49 comment (the check reads every.bk-ghoston the page) is carried into #3333.