`valley approve` treats SIGINT and SIGTERM alike: either interrupts the attempt, stops the checks, removes their worktree and files nothing. Review's [a]pprove watches SIGINT alone and holds a SIGTERM until the attempt ends (status/approve.go, `approval.watch`; status/review.go, `inForeground`). So a SIGTERM sent to a review (or a walk) while [a]pprove's checks run does not stop them. If the checks pass, the approval is filed and only then does the review end with 130. If a check never ends, the review never ends either; only SIGINT or SIGKILL stops it. A SIGTERM is a request to stop. An approval filed after one is not what the sender asked for, and the two ways of approving should agree on it. Done when a SIGTERM during review's [a]pprove interrupts the attempt the way it interrupts `valley approve`: checks stopped, worktree removed, nothing filed, exit 130. A test sends SIGTERM to the review's process alone, not its group, while a check blocks.
No comments.