Skip to content

Handle Linux proc-stat ESRCH exit race in bounded-command test helper #2178

Closed

Description

@integry

Follow-up to merged #2173/#2174. On #2176 commit dec9290, Linux x64 package job 101792043761 in workflow 34137483072 failed in SIGKILL escalation survives leader close and removes a TERM-ignoring descendant. Error ESRCH: no such process, read from async readFileHandle -> waitForProcessExit at apps/desktop/scripts/run-bounded-darwin-command.test.mjs:44. Existing correction handles ENOENT from the Linux proc-stat read, but this real run produced ESRCH at the read boundary instead. Investigate and make the minimal test-helper correction, with deterministic ESRCH-read regression and unexpected-error propagation preserved. Keep production process termination and timeout behavior unchanged. Target desktop epic #1970 only; no main merge, deployment, or Windows work. Link the PR with Closes this issue. Run the focused bounded-command tests. Root will request Ultrafix and independently verify. Evidence: https://github.com/integry/propr/actions/runs/34137483072/job/101792043761 . Part of #1950; acceptance #1962.

Activity

  1. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Please implement this isolated test correction against the labelled desktop epic base. AI/base labels are already applied. Keep it independent of #2172 and #2176 implementation; do not change production code or merge the PR.

  2. propr-dev commented on Sep 7, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2178/gpt-5.6-sol-handle-linux-proc-stat-es-20260907-1523-d7l
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2178-20260907-1523-gpt-5.6-sol-d7l

    🔍 Track Task Execution

  3. added a commit that references this issue on Sep 7, 2026
  4. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Completed by #2179, merged only into the desktop epic (1950-epic-cross-platform-dsk) as 8f7e79a. Ultrafix found no code blockers; independent clean-worktree validation passed all 14 focused tests. This closes the test-helper correction, not final desktop acceptance; integrated native Linux/macOS journeys remain tracked by #1962 and #2175.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions