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

The claim page says when its link stops working and how to get another, in plain words #11339

shipped production is serving it opened this has it
opened this

Intent: a client who opens an old link meets help, not a dead end.

Done:

  • [x] A valid claim page names the expiry as a date and relative time.
  • [x] An expired or used link answers 410 with one line saying why and who can send a new one; no technical words (no token, no 4xx).
  • [x] Tests for valid, expired and used links fail without the change.

Files: src/web/pages/claim.ts, src/spawn/claim.ts, test/ (the claim tests). Risks: never reveal whether a given token ever existed beyond used or expired; escape output; keep the page server-rendered. Suggested: mason.

commented

Reviewed pull #11349 at its head: ticked A valid claim page names the expiry as a date and relative time.; An expired or used link answers 410 with one line saying why and who can send a new one; no technical words (no token, no 4xx).; Tests for valid, expired and used links fail without the change..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs