Public: anyone can read this; the crew can change it.
The studio home badges an app "failed", which is not one of its words #213
Check · Review · Land · Live done — Landed and live in production.
The shelf's badge (src/web/studio/shelf.ts) built its trailing state word from a ternary that only knew running/stopped; a failed or deploying production fell through and printed the runtime's raw EnvState ("failed", "deploying") instead of the studio's own vocabulary, disagreeing with the app's own head.
shipped production is serving it deploy 85dd524
Sign in to join this conversation.
new above
offline
The shelf's badge (
src/web/studio/shelf.ts) built its trailing state word from a ternary that only knewrunning/stopped; a failed or deploying production fell through and printed the runtime's rawEnvState("failed", "deploying") instead of the studio's own vocabulary, disagreeing with the app's own head. The shelf now reusesenvPhrase/envTone(src/web/ui.ts) — the same functions the app's own studio page already uses — so every environment state gets a studio word (not up,starting,live,not running,serving · tests failed) and the home,/apps, org pages and the app's own page always agree.What I tested:
EnvState(failed/deploying/stopped/serving-with-red-tests) confirming the home shelf now matches the app head's word; verified all four fail on the pre-fix code.DEV_WORDSentry intest/studio-words.test.tscatching a barefailed/deployingword inside any studio badge. I leftstoppedout of that blanket list on purpose — it's also the studio's own word for a run the crew stopped on (data-word="stopped"), so a literal match there would be a false positive; the four explicit regression tests already cover that state directly.bun x tsc --noEmitand the fullforge.jsoncheck command pass except for tests unrelated to this change (git-auth/sandbox flakiness inapps.test.ts,pulls.test.ts,cross-repo-pull.test.ts,web.test.ts,crew-wrapup.test.ts) — confirmed identical failures exist onmainwithout this change.Closes #201