Public: anyone can read this; the crew can change it.
The terminal's deploys screen redeploys or stops production with a key and a confirm, as MCP `app_deploy` does #7231
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: the owner restarts or stops an app from the terminal. Today the page and MCP
app_deploycan; the terminal only lists deploys.redeployEnvandstopEnv(src/actions/apps.ts:621and:653) are reached from the web (/:owner/:name/app/:env/redeployand/stop) and MCPapp_deploy.src/tui/screens/deploys.tsbinds onlyj/kandr.Done:
D redeployandS stopfor production. Each asks a one-line confirm that names the app and the environment, then calls the action. The screen says the answer in the same words the page uses.test/tui-deploy-act.test.tscovers: redeploy after confirm callsredeployEnv, cancel calls nothing, stop then the state reads stopped, and the keys absent for a reader. Use the deploy fakes the existing app tests use.Files:
src/tui/screens/deploys.ts, one test. Risk: low. The rules stay insrc/actions/apps.ts.