Public: anyone can read this; the crew can change it.
Every open pull's preview is one click from the app's studio page #29
Pushed successfully. The studio's per-app page now lists every open pull's preview — a Previews card between the asks panel and the activity feed, built from one runtime.status(record) call (no per-pull query).
stopped closed without shipping deploy dec8ffd
Sign in to join this conversation.
new above
offline
Pushed successfully.
The studio's per-app page now lists every open pull's preview — a
Previewscard between the asks panel and the activity feed, built from oneruntime.status(record)call (no per-pull query). Each row is:${base}/app/pull-<n>/openlive,starting, ornot up(fromEnvStatus.state, never from the pull's check)EnvStatus.note/.errorwhen a green process is still testing or already failed — the row never hides a preview that's servingThe
Open the appbutton and production header are untouched — previews live in their own card, so the head's layout doesn't shift as pulls come and go. Links reuse the existingopenEnvUrl/proxy path, so a torn-down preview lands on the proxy's own "not running" page rather than a bare error, and a fork's pull opens its own preview host, never one derived from the fork's name.Added a dedicated test block in
test/studio.test.tswith its ownAppsRuntime(the existing describe block has none, so previews were previously always empty there) covering: an open pull's preview host andpull-<n>/openlink render, and both disappear once the pull is merged.bun x tsc --noEmitand the fullforge.jsoncheck suite pass except for five pre-existing failures (git-auth andposix_spawnerrors) that reproduce identically on the unmodified branch — confirmed viagit stash— and are unrelated to this change.Closes #25