Skip to content

fix: handle Linux runtime termination - #175

Merged
jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/linux-runtime-reconcile
Sep 2, 2026
Merged

fix: handle Linux runtime termination#175
jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/linux-runtime-reconcile

Conversation

@jacobcxdev

Copy link
Copy Markdown
Owner

Summary

  • convert Linux supervisor termination signals into context cancellation
  • preserve deferred worker and listener cleanup for owned and adopted runtimes
  • cover both Linux runtime entry points

Verification

  • go test -race -count=1 ./... (macOS host)
  • go vet ./... (macOS host)
  • go test -race -count=1 ./... (Ubuntu 24.04 arm64)
  • go vet ./... (Ubuntu 24.04 arm64)
  • AppArmor-safe confinement and descendant-reap acceptance tests
  • native systemd user install, refresh, status attestation, HTTP/SSE/WebSocket, restart/PID replacement, uninstall, and zero worker/listener residue

- converted `SIGINT` and `SIGTERM` into supervisor context cancellation
- covered owned and adopted paths so worker cleanup completed
@jacobcxdev jacobcxdev self-assigned this Sep 2, 2026
@jacobcxdev
jacobcxdev merged commit a00a29f into main Sep 2, 2026
5 of 10 checks passed
@jacobcxdev
jacobcxdev deleted the jacobcxdev/fix/linux-runtime-reconcile branch September 2, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant