Skip to content

test: two Bun suites in Check Catalog fail on a slow runner by crossing a fixed timeout #17687

Closed

Description

@kyle-sexton

Problem

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:

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.
  • The two suites pass on main.

Activity

  1. added
    agent-ready
    on Nov 20, 2026
  2. added
    needs-triage
    on Nov 20, 2026
  3. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor

    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.

  4. removed
    needs-triage
    on Nov 20, 2026
  5. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  6. melodic-automation-lanes commented on Nov 20, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"067f1e3cb735f2b9052cfd843912231c7d91589cc760003455691bdf62272bd1","body_sha256":"3198d5243f3fc5a96f4bffaae93f64ac0176991cf13f9d11522a73eb713e362c"}

  7. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor
    No description provided.
  8. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor
    No description provided.
  9. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-ready

    Type

    Fields

    Work status

    needs-triage

    Priority

    critical

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions