Cancel actions on process interrupts

This commit is contained in:
2026-08-13 00:24:16 +00:00
parent 1d3ea64541
commit 4d5a1d9709
5 changed files with 78 additions and 1 deletions

View File

@@ -68,6 +68,10 @@ failure before publication leaves an existing destination unchanged. A
notification failure occurs after publication, so the newly written output
remains available.
`SIGINT` and `SIGTERM` cancel an active action. Weatherreporter lets that
cancellation reach the action before exiting; when the action has a result, it
emits the usual failed summary and exits nonzero.
Action commands (`generate`, `run`, and `compare`) write a JSON summary to
stdout unless `--quiet` is set. `run` also writes compact per-report and batch
status lines to stderr. A pre-run error, such as an invalid flag, missing