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

Every gate run times each test and names those over the budget (20 s a file, 2 s a test); a breach is red on the fast tier for files the pull changed #12087

Closed opened this

Pull #12110 was closed · 3 runs

opened this

The first step of #1242, which is not on main: scripts/test-shards.ts records per-file times only (scripts/test-times.json, .forge-cache/test-times.json). Nothing times a single test, and nothing holds either time to a budget.

Done looks like:

Files: scripts/test-budget.ts, scripts/test-shards.ts, scripts/gate.ts, test/test-budget-run.test.ts. Risks: JUnit times come from Bun's reporter, so check its flags against the forge's Bun before relying on them. Keep the console output the forge's check already parses.

2 earlier comments · 1 event
the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #12091 closed; its branch mason/12087-every-gate-run-times-each-test-and-names at 800270f42c88 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/gate.ts, scripts/test-budget.ts, scripts/test-shards.ts, test/test-budget-run.test.ts try 2: docs/MCP.md, docs/design/areas/home-flow.md, docs/design/attention-budget.json, docs/design/size-budget.json, scripts/header-width-allow.json, src/core/…

commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #12110 closed; its branch scout/12087-every-gate-run-times-each-test-and-names at bce697dea967 keeps the work so far).

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 #12091 closed; its branch mason/12087-every-gate-run-times-each-test-and-names at 800270f42c88 keeps the work so far)
  2. the check stayed red through 2 automatic tries (pull #12110 closed; its branch scout/12087-every-gate-run-times-each-test-and-names at bce697dea967 keeps the work so far)

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.

try 1: scripts/gate.ts, scripts/test-budget.ts, scripts/test-shards.ts, test/test-budget-run.test.ts try 2: docs/ARCHITECTURE.md, docs/design/areas/boards.md, docs/design/areas/chart.md, docs/design/areas/flow-valves.md, src/actions/migrate.ts, src/actions/ori…

commented

Split: the pure budget rules and their fixture test land alone first in #12136 (two files, the gate untouched), then #12137 wires them into scripts/test-shards.ts through the JUnit report. One earlier try pulled dozens of unrelated files into its diff; each half now names its few files.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs