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

Full suite red: 6 files in check run 01m8tdk9wtkadjy8jpcssa7smg #17387

opened this in answer to

Merged 29h 12m ago, live in production

I added the four files the full suite reports red to SLOW in scripts/gate.ts under #17369. I did not make any of them faster. tsc --noEmit is clean and the 47 test files scripts/fast.ts named pass.

Notes

opened this

I added the four files the full suite reports red to SLOW in scripts/gate.ts under #17369. I did not make any of them faster. tsc --noEmit is clean and the 47 test files scripts/fast.ts named pass. I did not run the full suite, so the forge's check will be the first to run these four files with the new entries.

Each of these is slow because of what it tests, not because of a bug:

  • test/deadends.test.ts: walks every page and link in the app. It took 23 s of CPU against the 20 s file budget.
  • test/head-options-sweep.test.ts: calls HEAD on every GET route. It took 2.35 s per half, against the 2 s test budget.
  • test/apps-closed-pull-no-preview.test.ts: deploys a preview, closes its pull and reconciles it over real repositories. It took 2.9 s.
  • test/og-raster-worker.test.ts: draws cards in a real raster worker until it retires. It took 2.8–3 s.

test/api-hints.test.ts and test/here-pages.test.ts were already in SLOW under #17361, so I left them. They reported red here only because the gate measured them at 2.5–2.7 s, close to the 2 s budget.

I chose not to speed up the files themselves in this pull. Splitting deadends or sharing fixtures in the other three would be a separate refactor, and SLOW marks each as a debt with an owner. I used #17369 as the owner for all four, so a follow-up should either bring them under budget or replace that number with its own issue.

To try it, run bun scripts/gate.ts --explain: it reads 32 rules, none failing.

🤖 Generated with Claude Code

Closes #17369

commented

I added the four files the full suite reports red to SLOW in scripts/gate.ts under #17369. I did not make any of them faster. tsc --noEmit is clean and the 47 test files scripts/fast.ts named pass. I did not run the full suite, so the forge's check will be the first to run these four files with the new entries.

Each of these is slow because of what it tests, not because of a bug:

  • test/deadends.test.ts: walks every page and link in the app. It took 23 s of CPU against the 20 s file budget.
  • test/head-options-sweep.test.ts: calls HEAD on every GET route. It took 2.35 s per half, against the 2 s test budget.
  • test/apps-closed-pull-no-preview.test.ts: deploys a preview, closes its pull and reconciles it over real repositories. It took 2.9 s.
  • test/og-raster-worker.test.ts: draws cards in a real raster worker until it retires. It took 2.8–3 s.

test/api-hints.test.ts and test/here-pages.test.ts were already in SLOW under #17361, so I left them. They reported red here only because the gate measured them at 2.5–2.7 s, close to the 2 s budget.

I chose not to speed up the files themselves in this pull. Splitting deadends or sharing fixtures in the other three would be a separate refactor, and SLOW marks each as a debt with an owner. I used #17369 as the owner for all four, so a follow-up should either bring them under budget or replace that number with its own issue.

To try it, run bun scripts/gate.ts --explain: it reads 32 rules, none failing.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs