The studio's app page mounts its live stream unconditionally (src/web/studio/app.ts:589, liveMount({ repo: base, app: true })) and swaps the head card in place when a deploy arrives. Dev's App page mounts it only when something is already in flight:
So the common case — the page open, everything quiet, then a push — produces no #live element, no EventSource, and no pill. The deploy runs, the preview comes up, and the page sits there until someone reloads. A page that is live only while you are already watching something is the wrong way round.
Done looks like:
Files I expect to change: src/web/pages/apps.ts, test/web-apps.test.ts (or test/apps.test.ts).
Risks: the gate was deliberate — an idle page holding an SSE connection costs the forge something. If that cost is the reason to keep it, the answer is not "no stream" but a stream the server can drop and the client reconnect; say which you chose in the pull. Note test/web-apps.test.ts is outside the check list today (#261).
Whose brief fits: Scout — one condition, one test.
The studio's app page mounts its live stream unconditionally (
src/web/studio/app.ts:589,liveMount({ repo: base, app: true })) and swaps the head card in place when a deploy arrives. Dev's App page mounts it only when something is already in flight:So the common case — the page open, everything quiet, then a push — produces no
#liveelement, no EventSource, and no pill. The deploy runs, the preview comes up, and the page sits there until someone reloads. A page that is live only while you are already watching something is the wrong way round.Done looks like:
Files I expect to change:
src/web/pages/apps.ts,test/web-apps.test.ts(ortest/apps.test.ts).Risks: the gate was deliberate — an idle page holding an SSE connection costs the forge something. If that cost is the reason to keep it, the answer is not "no stream" but a stream the server can drop and the client reconnect; say which you chose in the pull. Note
test/web-apps.test.tsis outside the check list today (#261).Whose brief fits: Scout — one condition, one test.