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

scripts/smoke.ts waits for --version on /healthz and checks that /sw.js never answers a navigation with an error #2423

shipped production is serving it opened this has it
opened this

Replaces #2388. Its reds were in suites it did not touch ('a green agent pull and its reviewer', 'variant votes … terminal'), so it waits for the runner fix.

Done looks like:

  • [ ] --version <v> polls /healthz until X-Forge-Version is <v>, up to a flag-set limit (default 120 s), then fails naming the last version seen.
  • [ ] /sw.js must be a 200 JavaScript response with no Response.error() on a navigation path.
  • [ ] Stub tests in test/smoke.test.ts cover a late version, a version that never arrives (with a short limit) and a bad sw.js. Touch only the script and its test.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs