v0.7.2
Closes the v0.7.1-noted follow-up: a CLI command to resume
paused / failed / zombie papers. Completes the status / cancel /
resume trio so the operator never has to drop down to curl.
Cross-lane
e2er resume <paper_id>— restart a paused or failed
paper from the terminal. Optional--max-cost Nraises the
cap atomically with the resume (sent through to the v0.5+
ResumeRequestbody). Surfaces the paper's title + previous
status + cap delta +last_errorbefore issuing the POST, so
the operator knows what they're restarting. Unlikestatus
andcancel, this command DOES auto-start uvicorn — the user
is asking the paper to start running again, so the server
needs to be up.- 200 → prints the new transient status (
resuming) +
dashboard URL, optionally tails to terminal via--tail - 400 → surfaces the validation detail (e.g. non-positive
cap) directly so the user can fix and retry - 409 → "already running" with a hint to
e2er cancelfirst - 404 → "paper not found"
- 200 → prints the new transient status (
- 9 new regression tests in
tests/test_cli_status.py
covering: no-cap-change happy path, cap-raise happy path,
completed-paper short-circuit, 400 / 409 / 503 / 404 error
paths,--tailintegration, the API-unreachable branch.
Test counts
- Mocked suite: 590 passed (was 581 in v0.7.1; +9 here).