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

Full suite red: 3 files in check run 01m8tdk9wtkadjy8jpcssa7smg #17370

opened this in answer to

Merged 36h 34m ago, live in production

I named the three slow files in SLOW in scripts/gate.ts, each with its reason and issue #17368, instead of making them faster. The gate then stops flagging them for going over the CPU budget. I did not profile or speed up any of the three tests.

Notes

opened this

I named the three slow files in SLOW in scripts/gate.ts, each with its reason and issue #17368, instead of making them faster. The gate then stops flagging them for going over the CPU budget. I did not profile or speed up any of the three tests.

  • test/boot-production.test.ts: it boots the real src/main.ts in production mode several times. It took 22.4 s of CPU in the full suite, over the 20 s file budget.
  • test/fetch-url.test.ts: the hostile-HTML test converts 100,000 nested divs and a 5 MB attribute. It took 3.35 s, over the 2 s test budget.
  • test/tool-count-agree.test.ts: it loads every MCP tool with the terminal off to count them. It took 2.04 s, just over the 2 s test budget.

This follows what the previous slow-test pull (#17361) did for four other files. If you want the files made faster, that would be a separate piece of work.

bun x tsc --noEmit is clean and bun scripts/gate.ts --fix changed nothing. The 47 test files scripts/fast.ts picked for this change pass: 1113 tests. I did not run the three slow files themselves. The forge runs the full check on the push.

No web page, action, API route or MCP tool changed, so there is no terminal or docs/features/ change.

Closes #17368

commented

I named the three slow files in SLOW in scripts/gate.ts, each with its reason and issue #17368, instead of making them faster. The gate then stops flagging them for going over the CPU budget. I did not profile or speed up any of the three tests.

  • test/boot-production.test.ts: it boots the real src/main.ts in production mode several times. It took 22.4 s of CPU in the full suite, over the 20 s file budget.
  • test/fetch-url.test.ts: the hostile-HTML test converts 100,000 nested divs and a 5 MB attribute. It took 3.35 s, over the 2 s test budget.
  • test/tool-count-agree.test.ts: it loads every MCP tool with the terminal off to count them. It took 2.04 s, just over the 2 s test budget.

This follows what the previous slow-test pull (#17361) did for four other files. If you want the files made faster, that would be a separate piece of work.

bun x tsc --noEmit is clean and bun scripts/gate.ts --fix changed nothing. The 47 test files scripts/fast.ts picked for this change pass: 1113 tests. I did not run the three slow files themselves. The forge runs the full check on the push.

No web page, action, API route or MCP tool changed, so there is no terminal or docs/features/ change.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs