Skip to content

Verify Job Object membership and queried limits #321

Done

Description

@morluto

Query and verify process membership, limit sets, and completion status against the owned Job Object. Distinguish unverified membership from verified ownership.

Acceptance:

  • Query API returns deterministic membership evidence.
  • Tests reject named/shared Jobs, post-create assignment, disabled kill-on-close, breakaway, and nested Jobs.
  • Provider-neutral boundary closes malformed tokens.

Part of #288.

Activity

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

    @morluto
    OwnerAuthor

    Closing as implemented: native/windows/src/process.cc queries JobObjectExtendedLimitInformation in createJob (rejecting breakaway/limit mismatches), checks IsProcessInJob in spawnProcess before resuming, and queries JobObjectBasicAccountingInformation in activeProcesses; src/windows/WindowsOwnedProcess.ts enforces strict launchSchema / pollSchema / limitedPollSchema validation, tested in src/windows/WindowsOwnedProcess.test.ts and scripts/verify-windows-native.mjs + tests/fixtures/windows/processBoundary.cc (breakaway denial) (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: domainarea: testsenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions