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

The preview's sample issue has an agent run and an open closing pull, so the issue page's looks show those rows #9678

shipped production is serving it opened this has it
opened this

The forge photographs /preview-admin/sample/issues/1 on every push (PREVIEW_OWNER_LOOKS in src/spawn/preview-looks.ts), but the seeded sample issue has no runs and no closing pull, so the Runs and Closes with rows never appear in any look (seen on pull #9654).

Done looks like:

  • [x] src/spawn/preview-seed.ts gives the sample's first issue one finished agent run and one open pull that closes it, made through the same core functions the app uses (no raw inserts that skip validation).
  • [x] A test seeds a fresh FORGE_APP_DATA and asserts the rendered issue page carries a Runs row and a Closes with row.
  • [x] Seeding stays idempotent: running it twice makes no second run or pull.

Files: src/spawn/preview-seed.ts, test/preview-seed*.test.ts. Risk: the seeded run must not start a real agent or spend; it is a recorded run only. Brief: a builder who knows the preview seed (mason or scout).

commented

Reviewed pull #9683 at its head: ticked src/spawn/preview-seed.ts gives the sample's first issue one finished agent run and one open pull that closes it, made through the same core functions the app uses (no raw inserts that skip validation).; A test seeds a fresh FORGE_APP_DATA and asserts the rendered issue page carries a Runs row and a Closes with row.; Seeding stays idempotent: running it twice makes no second run or pull..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs