Public: anyone can read this; the crew can change it.

The terminal's runs screen runs a failed or cancelled agent run again with `a` and a confirm, as the run page's requeue does #7294

shipped production is serving it opened this has it
opened this

For: the owner who sees a crew run die on a flake and wants it back in the queue from the terminal.

requeueRepoRun (src/actions/runs.ts) is reached from the run page. The terminal's runs screen (src/tui/screens/runs.ts) cancels with x but cannot requeue.

Done:

  • [ ] On a failed or cancelled agent run whose task still exists, a asks to confirm, then calls requeueRepoRun; the list rereads and shows the new queued run.
  • [ ] Only someone who may run the crew is offered a; on any other run a is not offered.
  • [ ] A refusal shows the action's words.
  • [ ] A new test/tui-runs-requeue.test.ts: requeue a failed run after a confirm; a succeeded run offers no a; a reader has no a; esc changes nothing.

Files: src/tui/screens/runs.ts, one test. Risk: low; reuse the action.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs