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
unit-test budget: git- and subprocess-heavy unit tests exceed the 5s budget on a loaded workstation #4469
With every worker running (npx vitest run --project unit), 36 tests in 24 files went over; the same set fails on main under the same load. No assertion failed in any run: every failure was the test/unit-test-budget guard ("took N s, over the 5s unit-test budget (chant #2817)"), at 5.0 to 13.6s.
Every one spawns git (worktrees, bare remotes, signing) or child processes, so wall time scales with load, not with the code under test. CI's sharded runners don't see it. A check whose verdict flips with load can't be trusted locally in either direction.
Options: move these to *.e2e.test.ts as the budget message suggests, or scale the budget by a measured baseline (for example a calibration spawn at setup), or make the budget a CI-only guard with a local warning.
Duplicate of #4472, which has the fuller picture (the CHANT_UNIT_TEST_BUDGET_MS=30000 workaround, the 18-core measurement, and the same file list). The pr-loop.tofu cases listed here are tracked with a likely cause in #4479. Closing in favour of those.
Activity
Merge integration/choudoufu-engine: the choudoufu engine tier, path 1…
Merge integration/choudoufu-engine: the choudoufu engine tier, path 1…
Merge integration/pulumi-engine: the plunge engine tier, path 2 (mult…
Merge integration/pulumi-engine: the plunge engine tier, path 2 (mult…
lex00 commentedon Oct 26, 2026
Duplicate of #4472, which has the fuller picture (the CHANT_UNIT_TEST_BUDGET_MS=30000 workaround, the 18-core measurement, and the same file list). The pr-loop.tofu cases listed here are tracked with a likely cause in #4479. Closing in favour of those.