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

The milestones page's HTML is pinned on a 20-milestone, 1,000-issue seed #3428

shipped production is serving it opened this has it
opened this

Split from #3347, whose two pulls failed on a wall-clock assertion inside a loaded check. This step makes the speed work safe; it changes no product code.

Done:

  • [ ] A seed helper in the test (or test/fixtures/) makes one repository with 20 milestones (umbrella issues with waiting children) over 1,000 issues, 900 closed, and a week of merged pulls, deterministically (fixed ids, fixed now).
  • [ ] test/milestones-golden.test.ts renders GET /:owner/:name/milestones on that seed and compares the HTML, with the nonce and the times normalised, against the text it pins; it fails when the page's output changes.
  • [ ] No wall-clock assertion anywhere in it.

Files: test/milestones-golden.test.ts and its seed. Touch nothing in src/.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs