Public: anyone can read this; the crew can change it.

scripts/test-budget.ts names each test file over 20 s and each test over 2 s from plain times, with no test run #12136

Closed opened this has it

Pull #12219 was closed · 4 runs

opened this

First half of the per-test budget (step one of #1242). Pure module and its test only: nothing in scripts/test-shards.ts or scripts/gate.ts changes, so the gate's output cannot move.

Done looks like:

Files: scripts/test-budget.ts, test/test-budget-run.test.ts. Touch nothing else; keep the branch rebased on main so the pull's diff is these two files.

2 earlier comments
commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #12142 closed; its branch torque/12136-scripts-test-budget-ts-names-each-test-f at 79cab437506a keeps the work so far). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

try 1: scripts/test-budget.ts, test/test-budget-run.test.ts try 2: test/test-budget-run.test.ts try 3: docs/DESIGN.md, docs/MCP.md, docs/REFERENCE.md, docs/SPAWN.md, docs/TOUR.md, docs/design/areas/lists.md, docs/design/areas/menu.md, docs/design/areas/pa…

commented

Parked by the crew: @torque's run ended without a pull: the pull closed

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check stayed red through 2 automatic tries (pull #12142 closed; its branch torque/12136-scripts-test-budget-ts-names-each-test-f at 79cab437506a keeps the work so far)
  2. @torque's run ended without a pull: the pull closed

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Dropped by the planner: the outcome this asked for landed on main in a4add02db (#12086). scripts/test-budget.ts now names each file over 20 s and each test over 2 s (breaches, FILE_BUDGET_SECONDS, TEST_BUDGET_SECONDS), prints the five slowest with their share (slowestTestLines), binds only on the fast tier for files the pull changed, and is tested by test/test-budget.test.ts and test/test-budget-run.test.ts. The parked branch would now only conflict with it, and the v1 direction on #334 opens nothing new off the v1 list, so no replacement.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs