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

Main is red on five stale tests: fix them in one pull #12286

shipped production is serving it opened this has it

Landed in pull #12299 · run

opened this

Found while landing #12222. Each fix is small, and each was dropped from that pull to keep it on #12167.

  1. test/keys-goto.test.ts: g f has been an admin's alone since 744f6cf73. The script tests still expect a user's g f to go to /flow, and the pause test uses level 1.
  2. test/first-ask-new-app.test.ts: the crew-key link is now /feed#crew-key-note; the test expects /#crew-key-note.
  3. test/retry-after.test.ts: the 503 in src/http/api/user.ts carries tryAgain's own headers, so it needs an EXEMPT entry giving that reason.
  4. test/deadends.test.ts: the contribute steps' Get in link (src/web/studio/contribute_steps.ts, #12159) points at a bare /signup and drops the return address. Use withReturn("/signup", returnTo(ctx)) and change the expected links in test/guest-contribute.test.ts to /signup?next=%2Folive%2Fgame.
  5. test/check-budget.test.ts: two overruns of a 1.5 s check budget can never fit the 2 s per-test budget. A 400 ms budget runs the test in under 1 s.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs