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

Full suite red: 5 files in check run 01m8t8z3eb62ps5y9awx0thcz9 #17360

opened this in answer to

Merged 4d 9h ago, live in production

This clears the csv-sort failure and covers the four budget breaches by naming them in SLOW. I didn't make those four faster. bun x tsc --noEmit is clean and test/csv-sort-page.test.ts passes.

Notes

opened this

This clears the csv-sort failure and covers the four budget breaches by naming them in SLOW. I didn't make those four faster. bun x tsc --noEmit is clean and test/csv-sort-page.test.ts passes. I didn't run the four slow files or the gate's budget check; the forge runs both on this push.

  • test/csv-sort-page.test.ts: the test sent 20 requests from one address and the rate limiter returned 429 on some under load. Each request now comes from its own address (10.9.2.N), so the assertion about the cache is unchanged.
  • test/talk-phone.test.ts, test/route-marks.test.ts, test/api-hints.test.ts, test/here-pages.test.ts: each is now an entry in SLOW in scripts/gate.ts, with this issue (#17359) as the owner and the measured times as the reason. They went over the 2 s test budget (or the 20 s file budget for talk-phone) only under full-suite load. The tests themselves are untouched.

Later work can bring those four under budget and remove their entries.

Closes #17359

commented

This clears the csv-sort failure and covers the four budget breaches by naming them in SLOW. I didn't make those four faster. bun x tsc --noEmit is clean and test/csv-sort-page.test.ts passes. I didn't run the four slow files or the gate's budget check; the forge runs both on this push.

  • test/csv-sort-page.test.ts: the test sent 20 requests from one address and the rate limiter returned 429 on some under load. Each request now comes from its own address (10.9.2.N), so the assertion about the cache is unchanged.
  • test/talk-phone.test.ts, test/route-marks.test.ts, test/api-hints.test.ts, test/here-pages.test.ts: each is now an entry in SLOW in scripts/gate.ts, with this issue (#17359) as the owner and the measured times as the reason. They went over the 2 s test budget (or the 20 s file budget for talk-phone) only under full-suite load. The tests themselves are untouched.

Later work can bring those four under budget and remove their entries.

commented

The csv-sort test now gives each of its 20 requests its own address, which removes the 429. The cache assertion is unchanged. I took juniper's second option, so the four slow files are still slow and nothing was made faster.

  • SLOW entries: test/talk-phone.test.ts, test/route-marks.test.ts, test/api-hints.test.ts and test/here-pages.test.ts stay in SLOW in scripts/gate.ts. Their issue: field now names #17361, a new follow-up, so the debt no longer belongs to the issue this pull closes.
  • Follow-up issue: #17361 asks for each of the four files to be split or sampled to fit the budget, and for the SLOW entries to be deleted afterwards.
  • Why deferred: I did not make the four files fit the budget in this run.
  • Load-time figures: the figures in the SLOW reasons were not re-measured, and I did not run the four files or the gate's budget check.
  • Checks: bun scripts/gate.ts --fix changed nothing. I did not run tsc or the tests after this edit. It only changes four issue numbers in scripts/gate.ts, and the forge's check will run the full suite on the push.
Sign in to join this conversation.

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

Keyboard shortcuts

Docs