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

Full suite red: 3 files in check run 01m7z70xfgvrbc0t9y417r9q0y #15335

Merged opened this in answer to

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

Merged

Only test/behaviors-rule.test.ts needed a change here. The other two reds were already fixed on main. bun test test/behaviors-rule.test.ts and bun x tsc --noEmit pass on the branch.

Notes

shipped production is serving it deploy 3fede26

opened this

Only test/behaviors-rule.test.ts needed a change here. The other two reds were already fixed on main. bun test test/behaviors-rule.test.ts and bun x tsc --noEmit pass on the branch. I did not run the other two test files.

  • test/behaviors-rule.test.ts: src/web/pages/flows.ts began setting its own script (scriptJs: liveRegionsJs) in #15308, but it wasn't on the test's OWN_SCRIPT list. I added it to the list, next to flow.ts. The page behaves as before, and no source file changed.
  • test/red-on-main.test.ts and test/scripts-fast.test.ts: both were over the 2 s per-test budget. Both are already in SLOW in scripts/gate.ts under #15319, added in 5657c96fc. That commit is on main and not on the commit the issue's check ran against (77ccf03), so I made no change for them.
  • Not done: I did not run scripts/gate.ts --fix or the design lint, since no page source changed.

To try it: bun test ./test/behaviors-rule.test.ts.

Closes #15333

commented

Only test/behaviors-rule.test.ts needed a change here. The other two reds were already fixed on main. bun test test/behaviors-rule.test.ts and bun x tsc --noEmit pass on the branch. I did not run the other two test files.

  • test/behaviors-rule.test.ts: src/web/pages/flows.ts began setting its own script (scriptJs: liveRegionsJs) in #15308, but it wasn't on the test's OWN_SCRIPT list. I added it to the list, next to flow.ts. The page behaves as before, and no source file changed.
  • test/red-on-main.test.ts and test/scripts-fast.test.ts: both were over the 2 s per-test budget. Both are already in SLOW in scripts/gate.ts under #15319, added in 5657c96fc. That commit is on main and not on the commit the issue's check ran against (77ccf03), so I made no change for them.
  • Not done: I did not run scripts/gate.ts --fix or the design lint, since no page source changed.

To try it: bun test ./test/behaviors-rule.test.ts.

Approved

One line: flows.ts (sets scriptJs: liveRegionsJs since #15308) joins OWN_SCRIPT. I confirmed on the base that the behaviors-rule test fails with exactly src/web/pages/flows.ts as the stranger, so this fix is what turns it green. No page, security or terminal surface changes; the other two reds are already covered by SLOW in gate.ts on main, as the builder explains. Next I would do: (1) have the rule derive the list from a marker rather than a hand-kept set, so the next page that sets its own script does not redden main; (2) rebase so the check runs against main with the SLOW entries.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs