Skip to content

Real-Windows verifier for kill-on-close descendant cleanup #322

Done

Description

@morluto

Run a real non-admin Windows verifier that proves normal exit, cancellation, timeout, parent-handle close, descendant cleanup, and no unrelated-process termination.

Acceptance:

  • Descendants and grandchild fixtures remain in the owned Job.
  • Closing the owner handle terminates associated live processes.
  • Breakaway attempts fail closed.
  • Cleanup distinguishes empty, terminated, assignment unavailable, nested-Job conflict, and incomplete settlement.

Part of #288.

Activity

  1. added
    enhancement
    P1: high
    on Jul 20, 2026
  2. added
    area: runtime
    on Oct 14, 2026
  3. added
    triage
    on Nov 5, 2026
  4. added
    area: tests
    and removed on Nov 23, 2026
  5. morluto commented on Nov 24, 2026

    @morluto
    OwnerAuthor

    Closing as implemented: scripts/verify-windows-native.mjs (run in .github/workflows/ci.yml windows-curated and .github/workflows/real-ghidra-windows.yml, alongside tests/fixtures/windows/processBoundary.cc and ordinary-user checks in scripts/verify-packaged-ghidra-windows.mjs) verifies multi-level/detached descendant termination, unrelated-process preservation, process_close and forced-owner-exit (SIGKILL) kill-on-close, normal exit, and CREATE_BREAKAWAY_FROM_JOB denial, while WindowsOwnedProcess.cleanup() and WindowsNativeSpawnControlError distinguish settled vs unsettled cleanup and assignment/control failures (landed in PR #699 / 26881da76a).

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

    P1: higharea: runtimearea: testsenhancementtriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions