You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preserve published authentication completion across cancellation admission race #2210
Separate desktop acceptance correction; target epic #1970 /1950-epic-cross-platform-dsk only, never main. Found in unchanged authentication handoff code while validating unrelated Claude-status PR #2206, so keep separate.
Evidence: macOS ARM64 job101876026838 in run34165568738 fails apps/desktop/src/authentication-handoff.test.ts test "lets a published completion win a concurrent cancellation request": AbortError Authentication was cancelled at authentication-handoff.ts:279. Test explicitly waits for published result0 before aborting. tryTerminal first awaits readOwnedMarker(result), then awaits started marker, then writes cancellation if signal aborted; next result read throws if cancellationWritten. Potential stale-read window across these awaits permits a completed handoff to become cancellation. Investigate and fix the concrete race without weakening intended cancellation/ownership/drain behavior.
Acceptance: completion already published before cancellation admission wins; genuinely cancelled running process remains cancelled and drains descendants; deterministic regression exercises stale-read/interleaving rather than relying on sleeps; focused Linux/macOS handoff tests pass. Do not skip/relax assertion or mark failing code successful. Keep production/test diff small. Link PR with Closes this issue, leave open for Ultrafix/root validation. Related final acceptance #1962. Windows remains deferred.
Merged via #2211 into desktop epic #1970 at e8efebe. Final Ultrafix found no code blockers; independent nine handoff tests pass including deterministic FIFO race coverage. Full suite, both Linux and both macOS package checks, and all four Linux/macOS packaged Connect checks passed. Windows remains explicitly deferred. Final integrated-head acceptance remains #1962; running isolated app/backend currently a1cf599.
Activity
propr-dev commentedon Sep 7, 2026
🤖 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:
codexgpt-5.6-sol2210/gpt-5.6-sol-preserve-published-authen-20260907-2216-ldb1950-epic-cross-platform-dskissue-2210-20260907-2216-gpt-5.6-sol-ldb🔍 Track Task Execution
fix(ai): Resolve issue #2210 - Preserve published authentication comp…
integry commentedon Sep 7, 2026
Merged via #2211 into desktop epic #1970 at e8efebe. Final Ultrafix found no code blockers; independent nine handoff tests pass including deterministic FIFO race coverage. Full suite, both Linux and both macOS package checks, and all four Linux/macOS packaged Connect checks passed. Windows remains explicitly deferred. Final integrated-head acceptance remains #1962; running isolated app/backend currently a1cf599.