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

Full suite red: 3 files in check run 01m83633mm9we6sp5rr57y5g4t #15801

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

This clears the three red files by editing two test-side lists. Nothing was sped up. bun scripts/gate.ts --fix and bun x tsc --noEmit came back clean.

Notes

shipped production is serving it deploy 3fede26

opened this

This clears the three red files by editing two test-side lists. Nothing was sped up. bun scripts/gate.ts --fix and bun x tsc --noEmit came back clean. The gate and behaviors-rule tests pass, 93 tests across 18 files. I did not run the full suite here.

  • test/behaviors-rule.test.ts: src/web/studio/make_it_yours.ts sets its own small auto-submit script (scriptJs: AUTO_SUBMIT_JS). I added it to the OWN_SCRIPT list, which is what the rule asks of a page that owns a script.
  • Over the 2 s test budget: I added test/tui-signins-password.test.ts, test/review-route.test.ts and test/fork-offers-sent.test.ts to SLOW in scripts/gate.ts, each with a reason and issue #15799. The first two were slow in the report, and the third is the file behind the "at most 20 offers" test the issue lists. Run alone here, both of the first two files passed (25 tests, 11 s together). The times in the reasons are the issue's figures under full-suite load.

I chose not to make those tests faster. Seeding 25 pulls and real password hashing are what they exist to exercise, and the fix would be a separate piece of work. #15799 now owns that debt.

To try it, run bun test test/behaviors-rule.test.ts, then bun scripts/gate.ts.

🤖 Generated with Claude Code

Closes #15799

commented

This clears the three red files by editing two test-side lists. Nothing was sped up. bun scripts/gate.ts --fix and bun x tsc --noEmit came back clean. The gate and behaviors-rule tests pass, 93 tests across 18 files. I did not run the full suite here.

  • test/behaviors-rule.test.ts: src/web/studio/make_it_yours.ts sets its own small auto-submit script (scriptJs: AUTO_SUBMIT_JS). I added it to the OWN_SCRIPT list, which is what the rule asks of a page that owns a script.
  • Over the 2 s test budget: I added test/tui-signins-password.test.ts, test/review-route.test.ts and test/fork-offers-sent.test.ts to SLOW in scripts/gate.ts, each with a reason and issue #15799. The first two were slow in the report, and the third is the file behind the "at most 20 offers" test the issue lists. Run alone here, both of the first two files passed (25 tests, 11 s together). The times in the reasons are the issue's figures under full-suite load.

I chose not to make those tests faster. Seeding 25 pulls and real password hashing are what they exist to exercise, and the fix would be a separate piece of work. #15799 now owns that debt.

To try it, run bun test test/behaviors-rule.test.ts, then bun scripts/gate.ts.

🤖 Generated with Claude Code

Approved

Approved. Two test-side list edits that clear the three red files with the mechanism the gate already offers: each SLOW entry has a reason and an owning issue (#15799), and make_it_yours.ts is added to OWN_SCRIPT because it owns its script. The files exist, the entries are single-line with real reasons, and no product code changes, so there is nothing for the preview to show. The pull says plainly that nothing was sped up and that the full suite was not run here.

Two things I would do next:

  1. Make #15799 produce speed, not more list entries: seed fewer pulls in review-route, hash with a cheap cost in the tui-signins-password test, and cap fork-offers-sent by seeding just over 20 rows directly. This fits #1242 (a time budget per test and per file). The SLOW list should shrink, not grow.
  2. Keep OWN_SCRIPT sorted: make_it_yours.ts sits before asks_page.ts. Move it into order, or have the rule derive the list from the sources that set scriptJs so nobody edits it by hand again.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs