Skip to content

ci: the proof-system lane test packs twelve scenarios under one deadline and overruns it under load #4189

Closed

Description

@schlessera

Context

tests/integration-command.test.ts gives every test a 27-second work deadline inside Bun's 30-second cap (beforeEach, lines 18-27). The proof-system lane case added with #3269 (line 620) runs twelve scenarios, each a child process, inside one test.

Under the determinism gate's CPU load it overran: in run 44104941268 (determinism (1), PR #4175) it took 26.9 s on the first repetition and 27.2 s on the second, which failed with Integration fixture work deadline exceeded. The same selection passed in run 44104948265. Any PR that edits this file gets it repeated under load, and this file is edited by most merge-path changes.

Scope

  • One scenario per test, so each gets its own deadline. No deadline changes and no assertion is dropped.

Out of scope

  • The 27-second deadline and the 30-second cap.
  • The other cases in the file.

Acceptance criteria

  • Each of the twelve lane scenarios is its own test with the assertions it had.
  • The file passes the hosted determinism job on the PR that changes it.

Verification

  • bun run test tests/integration-command.test.ts, and the PR's determinism job.

Contract impact

None. Test only.

Activity

  1. added this to the 0.45.0 milestone on Nov 17, 2026
  2. added
    type: test
    area: ci
    priority: p1
    agent-ready
    on Nov 17, 2026
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-readyarea: cipriority: p1type: test

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions