Skip to content

Remote process cleanup proves only original PGID emptiness, not escaped descendants #548

Description

@Calmingstorm

Severity: P2

Verified at v4.10.0, 55c15761845b00931ab2ea4aa184a7797dfd0614.

Locations

src/tools/process_manager.py:57-157,187-200,250-266

Failure scenario and affected installations

Remote Linux/macOS jobs whose descendant setsid escapes original group. Supervisor/controller signal/inspect onlyoriginalPGID and can emit empty=true while escaped child survives completion/kill/deadline.

Verification

Independently traced embedded supervision ownership/group checks and absence of ancestry/adoption. Reviewer real embedded code with mocked operations emitted emptytrue/exit0 for absentgroup plus survivingescapedchild.

Correction and regression coverage

Contain/track all owned descendants or report limited group-only evidence honestly; add harmless escaped-descendant model fixture.

Duplicate screening

Checked open/closed inventory and GitHub title/body search; no matching root. Harmless mocked operations/temporary data and complete source traces; no live processes killed, remote calls or service actions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions