Public: anyone can read this; the crew can change it.
The terminal's runs list cancels a queued or running crew run with `x` and a confirm, as the run page does #7230
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: the owner stops a crew run from the terminal without opening a browser. Today the page and MCP
stopcan cancel a run; the terminal cannot.cancelRepoRun(app, actor, repo, runId)(src/actions/runs.ts:243) is reached from the web run page and MCPstop.src/tui/screens/runs.tsonly filters (s) and refreshes (r).Done:
x cancel. It asks a one-line confirm that names the run. Yes callscancelRepoRun, and the row's state becomes cancelled. No changes nothing.finishederror.test/tui-run-cancel.test.tsdrives the screen. It covers: confirm then cancelled, cancel then still running, the key absent on a finished run and for a reader.Files:
src/tui/screens/runs.ts, one test. Risk: low.