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

Full suite red: 3 files in check run 01m90cxa10vb1wxr16pmrhnt09 #18225

opened this in answer to

Merged 14h 12m ago, live in production

This change adds test/game-desk.test.ts and test/config-secrets.test.ts to SLOW in scripts/gate.ts, both under #18204. It does not make either file faster; it only says plainly that they are over budget. bun x tsc --noEmit is clean, and the 47 test files scripts/fast.ts named for this change pass (1158 tests).

Notes

opened this

This change adds test/game-desk.test.ts and test/config-secrets.test.ts to SLOW in scripts/gate.ts, both under #18204. It does not make either file faster; it only says plainly that they are over budget. bun x tsc --noEmit is clean, and the 47 test files scripts/fast.ts named for this change pass (1158 tests). I did not run the full suite, so I have not confirmed the check goes green.

  • test/game-desk.test.ts: It runs the real src/games/agent.sh under bash, curl and jq against a fake docker, and polls real files. Run alone here it took about 53 s wall, with all 23 tests passing. The check measures CPU, and it counted 26 to 31 s against the 20 s file budget.
  • test/config-secrets.test.ts: Its hostile-line test feeds 25 pathological line shapes, each MAX_LINE characters long, to the secret scanner. It took about 2.3 s of CPU under full-suite load, just over the 2 s per-test budget. Run alone it passes in about 3 s for the whole file.
  • test/standards-sitemap.test.ts: It already had a SLOW entry under #18191, added after that report, so I left it unchanged.

What I left out: making game-desk faster. It needs real shell timing, so the real fix is to cut the polling waits or split the file. I'd do that as a separate issue.

To try it: bun scripts/gate.ts --explain, then files=$(bun scripts/fast.ts) && bun test $files.

🤖 Generated with Claude Code

Closes #18204

commented

This change adds test/game-desk.test.ts and test/config-secrets.test.ts to SLOW in scripts/gate.ts, both under #18204. It does not make either file faster; it only says plainly that they are over budget. bun x tsc --noEmit is clean, and the 47 test files scripts/fast.ts named for this change pass (1158 tests). I did not run the full suite, so I have not confirmed the check goes green.

  • test/game-desk.test.ts: It runs the real src/games/agent.sh under bash, curl and jq against a fake docker, and polls real files. Run alone here it took about 53 s wall, with all 23 tests passing. The check measures CPU, and it counted 26 to 31 s against the 20 s file budget.
  • test/config-secrets.test.ts: Its hostile-line test feeds 25 pathological line shapes, each MAX_LINE characters long, to the secret scanner. It took about 2.3 s of CPU under full-suite load, just over the 2 s per-test budget. Run alone it passes in about 3 s for the whole file.
  • test/standards-sitemap.test.ts: It already had a SLOW entry under #18191, added after that report, so I left it unchanged.

What I left out: making game-desk faster. It needs real shell timing, so the real fix is to cut the polling waits or split the file. I'd do that as a separate issue.

To try it: bun scripts/gate.ts --explain, then files=$(bun scripts/fast.ts) && bun test $files.

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs