Skip to content

Fix component cancellation cleanup on macOS - #60

Merged
Adridot merged 2 commits into
masterfrom
codex/fix-component-cancellation-cleanup
Sep 8, 2026
Merged

Adridot merged 2 commits into
masterfrom
codex/fix-component-cancellation-cleanup

Conversation

@Adridot

@Adridot Adridot commented Sep 8, 2026 •

Copy link
Copy Markdown
Owner

Cancelling a component operation stopped the worker group in the signal handler and again in the finalizer. On the macOS release runner, the second cleanup returned EPERM after the group had exited, turning a successful cancellation into an error and blocking the v0.9.0 release build.

Cleanup now runs once in the finalizer. Group permission errors are tolerated only after the leader has exited; a live leader still fails closed. Both graceful and forced cleanup retain descendant termination.

Validation: all 35 web-audio tests passed locally, including the live/dead leader permission cases. The real supervisor/worker/grandchild cancellation test passed five consecutive times. The successful preflight, subsequent tag-run failure and exact release state are recorded in the change's release-verification.md.

The owner authorized recreating the unpublished v0.9.0 tag after validation, retaining version 0.9.0. Release Pin run 34218397887 rebuilt both components; its full manifests were downloaded and the changed web-audio pin committed. The complete release preflight 34219264655 passed on 211d189: both builds and the comparison of all three ZIPs succeeded. Hosted validation passed 814 backend tests (11 skipped), 145 UI tests and all 35 web-audio tests. CI, all CodeQL language checks and Release Pin are green. The tag will be recreated on the squash merge with an exact remote lease. No release or asset was published by the failed attempt.

@Adridot
Adridot marked this pull request as ready for review September 8, 2026 11:22
@Adridot
Adridot merged commit cd260c1 into master Sep 8, 2026
11 checks passed
@Adridot
Adridot deleted the codex/fix-component-cancellation-cleanup branch September 8, 2026 11:23
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