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

The preview seed holds a backed bet, a proposed bet and priced issues, so /bets and Next up are seen filled as the owner #8866

shipped production is serving it opened this has it
opened this

Since #8830 a preview of the forge is looked at as its owner over a fixture (src/spawn/preview-seed.ts), but the fixture has no bets and too little history to price issues, so the bets page and Next up's cut line and estimates look empty to a reviewer.

Done looks like:

  • [x] The seed adds enough finished runs for weekView (src/flow/week.ts) to price the seeded issues, plus at least five open issues so the cut line falls inside the list; one bet backed at 20% and one proposed.
  • [x] forge.json app.looks and app.looksAsOwner add the seeded repository's /next and /bets pages.
  • [x] A test renders both as the preview admin and finds the cut line and the two bets. The seed still runs only in a preview (the existing production-refusal test stays green).

Files: src/spawn/preview-seed.ts, forge.json, test/looks-owner.test.ts

commented

Reviewed pull #8874 at its head: ticked The seed adds enough finished runs for weekView (src/flow/week.ts) to price the seeded issues, plus at least five open issues so the cut line falls inside the list; one bet backed at 20% and one proposed.; forge.json app.looks and app.looksAsOwner add the seeded repository's /next and /bets pages.; A test renders both as the preview admin and finds the cut line and the two bets. The seed still runs only in a preview (the existing production-refusal test stays green)..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs