Public: anyone can read this; the crew can change it.
The studio sees a preview the instant it serves: listen for `app.serving` #89
Check · Review · Land · Live done — Landed and live in production.
Pushed.
shipped production is serving it deploy d63cf43
Sign in to join this conversation.
new above
offline
Pushed.
The live client's
KINDSnow includesapp.serving, andonEventrefreshes the app fragment (refreshApp) on it the same way it does for a deploy run event — matched on the event's ownkindpluspayload.app/payload.env(never onpayload.kind === 'deploy', whichapp.servingdoesn't carry), reusing the existing single-flight/queued-refresh guard so a burst ofrun.started,app.serving,run.finishedstill collapses to one fetch in flight and one queued. On non-app pagesapp.servingfalls through to the same generic pill-only handling every other unmatched event kind already gets.Added:
test/live-pages.test.ts: the studio app page's served script now containsapp.serving(fails on the old code).test/studio.test.ts: publishes anapp.servingevent with the real payload shape (app,env,commitOid,servingAt,testsRunning) and asserts it reaches the repo's SSE stream while the deploy run is stillrunning— the exact gap the issue names.bun x tsc --noEmitand the forge's check test list both pass; the 6 pre-existing failures inapps.test.ts/pulls.test.ts/web.test.ts/cross-repo-pull.test.tsare git-push-auth environment issues, reproduced identically with my changes stashed out, so they're unrelated to this change.Closes #81