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

Full suite red: 3 files in check run 01m7x6qstawd92k02xsgpy4b8a #14824

Closed opened this in answer to
Closed without merging

This pull fixes the docs-link failure and names the two timing files in SLOW; the SLOW entries are a stopgap rather than a speed-up. docs-link passes now, and tsc and scripts/gate.ts are clean. I did not run the full suite.

Notes

stopped closed without shipping deploy 8b06087

opened this

This pull fixes the docs-link failure and names the two timing files in SLOW; the SLOW entries are a stopgap rather than a speed-up. docs-link passes now, and tsc and scripts/gate.ts are clean. I did not run the full suite.

  • test/docs-link.test.ts: docs/HOPS.md was added in #14651 without a line in DOC_LINES (src/view/doc_sections.ts), so the index check failed. I added it under Internals as "Wire hops", with a line within the 60-character limit.
  • test/timers-sync.test.ts and test/revert-red.test.ts: both pass when run alone here. The report's failures were tests over the 2 s budget under full-suite load, 7.6 s and 3.4–4.2 s. I added both files to SLOW in scripts/gate.ts under #14818, with reasons that give the time under load. The report's revert-red list also repeats the timers-sync and docs-link messages, which come from the other two files.

I did not speed those tests up. If you want that, the work is in how timers-sync and revert-red set up their repositories, and the SLOW entries can then be removed.

To try it, run bun test ./test/docs-link.test.ts, then open /docs: "Wire hops" appears under Internals.

🤖 Generated with Claude Code

Closes #14818

3 earlier comments
commented

This pull fixes the docs-link failure and names the two timing files in SLOW; the SLOW entries are a stopgap rather than a speed-up. docs-link passes now, and tsc and scripts/gate.ts are clean. I did not run the full suite.

  • test/docs-link.test.ts: docs/HOPS.md was added in #14651 without a line in DOC_LINES (src/view/doc_sections.ts), so the index check failed. I added it under Internals as "Wire hops", with a line within the 60-character limit.
  • test/timers-sync.test.ts and test/revert-red.test.ts: both pass when run alone here. The report's failures were tests over the 2 s budget under full-suite load, 7.6 s and 3.4–4.2 s. I added both files to SLOW in scripts/gate.ts under #14818, with reasons that give the time under load. The report's revert-red list also repeats the timers-sync and docs-link messages, which come from the other two files.

I did not speed those tests up. If you want that, the work is in how timers-sync and revert-red set up their repositories, and the SLOW entries can then be removed.

To try it, run bun test ./test/docs-link.test.ts, then open /docs: "Wire hops" appears under Internals.

🤖 Generated with Claude Code

commented

I pushed a new commit, 800e2b048, that adds the two lines the gate asked for. I did not rerun the tests; the fix is only to the commit messages, with no code change since the last push.

The failing check was about commit messages, not code. The commit message now carries:

  • Try: open /docs on the preview and find Wire hops under Internals
  • No test: test/docs-link.test.ts already fails without the HOPS.md line; no new behaviour

I ran bun scripts/gate.ts after committing. The two rule failures are gone, and only the over-100-columns comment note in src/view/doc_sections.ts remains. The gate says to leave that note for the nightly rewrap. bun scripts/gate.ts --fix made no changes.

The change itself is the same as before. docs/HOPS.md now has its line in the docs index, so test/docs-link.test.ts passes. test/timers-sync.test.ts and test/revert-red.test.ts are named in SLOW under #14818 because they only exceed the 2 s budget under full-suite load.

🤖 Generated with Claude Code

commented

Main had meanwhile added its own HOPS.md line to DOC_LINES in src/view/doc_sections.ts, so mine became a duplicate key and tsc failed with TS1117. I merged origin/main into the branch, deleted my duplicate line (line 85), and pushed 8b0608711.

bun x tsc --noEmit is clean and test/docs-link.test.ts passes (13 of 13). The diff of src/view/doc_sections.ts against main is now empty. I did not rerun the other tests or scripts/gate.ts after the merge.

What this pull now changes is the two SLOW entries in scripts/gate.ts for test/timers-sync.test.ts and test/revert-red.test.ts, under #14818. Both pass alone here and only exceed the 2 s budget under full-suite load. I did not speed them up.

The commit message carries the Try: and No test: lines the gate asks for.

🤖 Generated with Claude Code

commented

Declined: already done on main in c0abde631. That commit put the docs/HOPS.md line into DOC_LINES, which was the test/docs-link.test.ts failure. @trevato reports the full suite green again (check run 01m7xees27wn7dvjh0msd4s20p, eec34e0). The other two files, test/timers-sync.test.ts and test/revert-red.test.ts, passed when I ran them alone here. Their only failures were the 2 s test budget being exceeded under suite load, and they have not recurred. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m7xjhc842gmz41wskw2ywpyr

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs