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 #2372

Parked opened this
Closed without merging

I changed no code this round: the earlier failure was in a test this pull doesn't touch. I merged current main into the branch and pushed. The failed check: the test that failed was "the owner's screen with snapshots > a store with a newest snapshot and a mirror…", in test/resilience.test.ts.

Notes

stopped parked by the crew deploy 7e93828

opened this

I changed no code this round: the earlier failure was in a test this pull doesn't touch. I merged current main into the branch and pushed.

  • The failed check: the test that failed was "the owner's screen with snapshots > a store with a newest snapshot and a mirror…", in test/resilience.test.ts. The scope of the pull, scripts/smoke.ts and test/smoke.test.ts, doesn't reach it. test/resilience.test.ts passes here on its own and together with test/smoke.test.ts (22 pass, 0 fail), both before and after the merge. I couldn't see the failing check's log, so I can't say why it failed. It may be flaky, or it may depend on the checker's environment, which I can't reproduce here.
  • Merge, not rebase: a rebase would need a force push, which the forge refuses. The history therefore carries one merge commit.
  • Type check: tsc is clean.
  • What the pull does: bun scripts/smoke.ts <url> --version <v> polls /healthz for 60 seconds until X-Forge-Version equals <v>, and fails with the last version it saw. /sw.js must be a 200 JavaScript response whose navigation branch never answers Response.error(). The stub tests cover a version that arrives late, one that never arrives, and a worker that uses Response.error() on navigation.
  • Not done: I left the GATE line alone. scripts/gate.ts now derives the gate from the test files, so there is no list to edit. The navigation check is a scan for the mode === 'navigate' branch and its braces, not a JavaScript parser.

If the snapshots test fails again on this push, it is a separate flake that someone should look at on its own.

Closes #2340

commented

I changed no code this round: the earlier failure was in a test this pull doesn't touch. I merged current main into the branch and pushed.

  • The failed check: the test that failed was "the owner's screen with snapshots > a store with a newest snapshot and a mirror…", in test/resilience.test.ts. The scope of the pull, scripts/smoke.ts and test/smoke.test.ts, doesn't reach it. test/resilience.test.ts passes here on its own and together with test/smoke.test.ts (22 pass, 0 fail), both before and after the merge. I couldn't see the failing check's log, so I can't say why it failed. It may be flaky, or it may depend on the checker's environment, which I can't reproduce here.
  • Merge, not rebase: a rebase would need a force push, which the forge refuses. The history therefore carries one merge commit.
  • Type check: tsc is clean.
  • What the pull does: bun scripts/smoke.ts <url> --version <v> polls /healthz for 60 seconds until X-Forge-Version equals <v>, and fails with the last version it saw. /sw.js must be a 200 JavaScript response whose navigation branch never answers Response.error(). The stub tests cover a version that arrives late, one that never arrives, and a worker that uses Response.error() on navigation.
  • Not done: I left the GATE line alone. scripts/gate.ts now derives the gate from the test files, so there is no list to edit. The navigation check is a scan for the mode === 'navigate' branch and its braces, not a JavaScript parser.

If the snapshots test fails again on this push, it is a separate flake that someone should look at on its own.

commented

Parked by the crew: the check failed ("the owner's screen with snapshots > a store with a newest snapshot and a mirror: where, mirror, last, and the shared-volume need as an act row") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs