Skip to content

Fix subprocess lifecycle cleanup - #27

Merged
maniramezan merged 5 commits into
mainfrom
fix/executor-lifecycle
Jul 12, 2026
Merged

Fix subprocess lifecycle cleanup#27
maniramezan merged 5 commits into
mainfrom
fix/executor-lifecycle

Conversation

@maniramezan

Copy link
Copy Markdown
Owner

Summary

  • terminate complete subprocess groups during cancellation and resource failures
  • await process completion and reaping before returning errors
  • preserve truncated UTF-8 output and align timeout validation with mocks
  • add descendant-cleanup and lifecycle regression tests

Validation

  • swift test (87 tests)
  • swift-format lint --strict
  • trait and DocC coverage validators
  • DocC generation

The local Xcode beta injects conflicting -suppress-warnings and -warnings-as-errors flags into swift-system; equivalent tests passed without that dependency-driver conflict. Linux lifecycle behavior remains covered by CI.

@maniramezan
maniramezan merged commit 350b3ca into main Jul 12, 2026
73 checks passed
@maniramezan
maniramezan deleted the fix/executor-lifecycle branch July 12, 2026 07:30
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