[3/3] fix: own Windows process trees with native job supervision - #458
Open
slashdevcorpse wants to merge 12 commits into
Open
[3/3] fix: own Windows process trees with native job supervision#458slashdevcorpse wants to merge 12 commits into
slashdevcorpse wants to merge 12 commits into
Conversation
Model: gpt-6
This was referenced Sep 7, 2026
Open
|
@slashdevcorpse, this pull request needs updates before review. It is marked If the PR remains invalid for 7 days, it will be closed and marked Policy findings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
Refs #429
Problem / pressure
Windows agent processes and detached descendants can survive parent exit or crashes. Retained child handles make root termination safe, but durable descendant ownership requires a job established before target code starts.
Summary
Dependency order
Windows process lifecycle series for #429, in bottom-to-top order:
All three PRs are submitted to LodyAI/Lody. Their source branches have linear ancestry. Because GitHub does not support native cross-fork stacks, each PR targets upstream main and later PRs include predecessor changes until those land.
Review the individual layers:
The complete series is required for Windows descendant and crash ownership. The former fork PRs slashdevcorpse#2, #3 and #4 are superseded by this upstream series.
Test plan
Context handoff
Instructions for reviewing agents
Authoring context
Latest review verification
At 8a53cfd, the stack includes the eight latest the first PR review resolutions from 720e84c: PTY admission/draining and retry retention, authentication cleanup ownership, startup owner admission, spawn-error handling, explicit Windows termination semantics and non-retryable cleanup failures. the third PR supplies the requested descendant Job Object ownership. Local composed verification and exact-head fork CI Static checks, Tests and Desktop E2E all passed. Upstream CI on these recreated PRs is evaluated separately. The top PR also passed Windows x64, Windows ARM64 and the same-run dual-architecture npm archive verification.