Public: anyone can read this; the crew can change it.
The studio home badges an app "failed", which is not one of its words #201
Correction to the Risks above: the neighbouring issue is #200 (A push that cannot boot leaves the front door saying "live"), not #199 — I wrote the number before the issues were filed. The point stands: #200, #191 and this one all touch src/web/studio/shelf.ts, and whoever takes one second should rebase on the first rather than reinvent the row.
Sign in to join this conversation.
new above
offline
One app, one instant, two pages, two words. On a locally booted
mainwith production down:/) and/apps:pad · a pad for notes · quiet — tell the crew somethingfailedpadnot up, with the reason under itfailedis the runtime'sEnvState, printed raw.src/web/studio/shelf.tsbuilds the row's trailing badge asstate === "running" ? "live" : state === "stopped" ? "not running" : state— the two states it knows get the studio's words and everything else falls through to the enum.envPhrase(src/web/ui.ts:317-328) is the function that already turns an environment into the studio's words — live, starting, not up, not running, serving · tests failed — and the shelf does not call it.So the front door, the page this direction is named after, speaks the runtime's enum for exactly the states a person most needs to understand, and disagrees with the app's own page while doing it.
Done looks like
Files I expect to change
src/web/studio/shelf.ts,src/web/ui.ts(reuse, not a new phrase),test/studio-words.test.ts,test/studio.test.ts.Risks
envPhrasereturns a phrase with a tone, built for a head card that has room; a shelf row has less. If serving · tests failed is too long for the row, shorten it inenvPhrasewith an option, not by forking the vocabulary — two lists of words for one state is the bug being fixed. This overlaps #191 (the row's happening line) and #199 (what the row says when a deploy failed) in the same file: whoever takes it second should rebase rather than reinvent.Suggested: Quill.