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
test: two Bun suites in Check Catalog fail on a slow runner by crossing a fixed timeout #17687
Two Bun test suites that Check Catalog runs (scripts/validate-plugins.sh) fail on a slow runner by crossing a fixed per-test timeout, then pass on a re-run with no code change:
hooks/bedroom/pieces/no-shader.test.ts: "with no look, or dusk in clear weather, the window and the room shell draw as they always did" failed with Error: timed out after 5000 ms (5015 ms) on main, run 44802315221 (workflow_dispatch at 05cb5e7, 2026-11-20 19:27Z). This made main red; a failed-job re-run passed.
Locally under host load (load average about 46), 7 mod tests hit the same 5 s cap and passed on retry. A red main from a timing cap blocks merges and fires the main-red alert with no defect behind it.
Change
Find why each test is slow (rendering the whole scene, or a large pattern set) and cut its work, or raise its timeout to a value measured from CI timings with headroom (record the p95 the value is based on).
Do not add retries that hide a real failure.
Acceptance
Each named test's runtime over 10 CI runs (or a local loop under -j load) stays under its timeout with at least 2x margin, or the timeout is set from measured CI p95 plus margin, with the numbers in the PR.
Size: Small
Complexity: Low
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: two Bun test files (no-shader.test.ts, mask.test.ts) run by Check Catalog; maintainers and CI read them.
Reversible: yes; revert the timeout or work-reduction edit.
Open questions: none
Understood: two Bun suites cross fixed timeouts on a slow runner, so main went red with no defect behind it. The fix is to cut each test's work, or set its timeout from measured CI p95 plus margin, with no retries. Priority is critical because the failure turned main red. I found no open duplicate and no merged pull request that already fixes this.
Activity
github-actions commentedon Nov 20, 2026
Size: Small
Complexity: Low
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: two Bun test files (no-shader.test.ts, mask.test.ts) run by Check Catalog; maintainers and CI read them.
Reversible: yes; revert the timeout or work-reduction edit.
Open questions: none
Understood: two Bun suites cross fixed timeouts on a slow runner, so main went red with no defect behind it. The fix is to cut each test's work, or set its timeout from measured CI p95 plus margin, with no retries. Priority is critical because the failure turned main red. I found no open duplicate and no merged pull request that already fixes this.
Automated triage. A maintainer reviews it.
github-actions commentedon Nov 20, 2026
The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).
melodic-automation-lanes commentedon Nov 20, 2026
{"v":1,"actor_id":337595936,"title_sha256":"067f1e3cb735f2b9052cfd843912231c7d91589cc760003455691bdf62272bd1","body_sha256":"3198d5243f3fc5a96f4bffaae93f64ac0176991cf13f9d11522a73eb713e362c"}
github-actions commentedon Nov 20, 2026
github-actions commentedon Nov 20, 2026
github-actions commentedon Nov 20, 2026