Handle process signals through cooperative cancellation
This commit is contained in:
@@ -613,6 +613,13 @@ race tests. Update CLI/state internals, not CommandKit-owned syntax.
|
||||
|
||||
## Stage 21 — Connect Executable Signals To Cancellation
|
||||
|
||||
**Completed.** The executable routes the first SIGINT/SIGTERM into the existing
|
||||
context and restores ordinary handling for a subsequent signal, joining its
|
||||
signal helper before exit. Offline subprocess tests exercise in-flight provider
|
||||
cancellation, terminal evidence, no fallback/retry, and a held-delivery second
|
||||
signal. Repeated process tests and the prescribed executable/CLI checks pass.
|
||||
No shutdown deadline or embedded process-wide handler was added.
|
||||
|
||||
**Coverage:** CAT-010. **Prerequisites:** Stages 10, 17, 20.
|
||||
|
||||
Pass a SIGINT/SIGTERM-cancelled context from cmd/notarius/main.go to app.Execute.
|
||||
|
||||
Reference in New Issue
Block a user