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

"Now" says nothing while the app is plainly coming alive #163

shipped production is serving it opened this has it

Landed in pull #168 · run

opened this

On the page New app now lands on (#161), the head card streams a deploy in progress and the panel called Now says nothing is happening.

Measured on today's main, booted locally, the studio app page fetched immediately after creating an app:

h1   pad  starting
     A scratch pad · pad.forge-…/ · eae580a · deploy in progress
     forge deploy production of fay/pad at eae580a (enabled)     ← the live tail
Now  Nothing yet. Tell the crew something.

deployTail (src/web/studio/previews.ts:131) has a comment saying the production deploy it tails is already what "Now" shows. It is not: Now is built from listRuns(db, repo.id, { kind: "agent", limit: 8 }) (src/web/studio/app.ts:142), so a deploy has never been in it. The comment describes an intention, the page contradicts itself, and it does so in the first seconds of an app's life — the exact moment the direction is about.

Acceptance

Files I expect to change

src/web/studio/app.ts (the Now panel and its empty state), src/web/studio/previews.ts (the comment, and only that unless the row lives there), test/studio.test.ts.

Risks

  • *Do not put every deploy in Now*.** The panel is the crew's work; a background redeploy after an unrelated push filling it with machine rows would be worse than the bug. If a row is the answer, it is the running one only.
  • Keep it to one query: Now reads runs once today and should still read them once.

Suggested: Scout.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs