Skip to content

Fix macOS authentication HUP lifecycle regression after desktop integration #2135

Closed

Description

@integry

Follow-up to merged #2134; part of #1962 and desktop epic #1950 / PR #1970. Target 1950-epic-cross-platform-dsk, never main.

Post-merge commit 692afd2 failed macOS ARM package CI: https://github.com/integry/propr/actions/runs/34054223699/job/101543182587 . Test drains a TERM-resistant command after the terminal sends HUP returned status 129 rather than expected 137, duration 68 ms. Same final child commit had passed all Linux/macOS checks before merge.

Inspect authentication-handoff.ts and its test. The fixture writes its PID before installing ignore traps, and the terminal can send HUP before wrapper initialization completes. Establish the actual cause and deterministically synchronize readiness where needed. Preserve real cancellation/HUP drain/reap behavior and ownership checks; do not merely accept 129, skip coverage, extend arbitrary delays, or blindly retry CI. If production initialization is defective, fix that narrow defect with regression coverage.

Run focused authentication tests repeatedly plus desktop suite/typecheck. Keep changes narrow. Request Ultrafix review and independent inspection before integration. Include Closes for this issue in the resulting PR; do not close #1962, since real fresh installation/actual-account authentication remain unverified pending user-approved isolation. Do not merge the PR automatically.

Activity

  1. propr-dev commented on Sep 6, 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: 2135/gpt-5.6-sol-fix-macos-authentication--20260906-1918-jfm
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2135-20260906-1918-gpt-5.6-sol-jfm

    🔍 Track Task Execution

  2. propr-dev commented on Sep 6, 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: 2135/gpt-5.6-sol-fix-macos-authentication--20260906-1925-prp
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2135-20260906-1925-gpt-5.6-sol-prp

    🔍 Track Task Execution

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

    @integry
    OwnerAuthor

    Resolved by PR #2136, merged into desktop epic #1970 at 3f018ce (not main). Ultrafix review: 9/10, no blockers; all four Linux/macOS package checks and full suite passed. Separate pairing smoke correction remains tracked by #2137 / #2141; end-to-end acceptance #1962 remains open.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions