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
Desktop: fix warm-open renderer delivery failure after tunnel acknowledgement #2328
Follow-up to diagnostic #2323 / merged #2326; parent #1950 / #1970. Implement a targeted child PR against 1950-epic-cross-platform-dsk. Correct base label is applied.
Real Intel Mac lifecycle reproduction with diagnostics: run 34549557949 attempt 2, job 103113438439. Failure: stage WARM_OPEN_EVIDENCE, milestone WARM_TUNNEL_ACK, result FAILED_EXIT, evidence READABLE, category DEEP_LINK_DELIVERY_FAILED. Thus the app reached and acknowledged the warm tunnel candidate, then failed delivery/acknowledgement of the next warm-open link and exited; this is not a dependency failure or simply missing test output. Fetch bounded log via gh api repos/integry/propr/actions/jobs/103113438439/logs. Read src/main.ts deep-link delivery failure handling, deep-link-delivery.ts, renderer consumption/presentation flow, and lifecycle dispatchDirect sequence. The original diagnostic PR preserved all assertions and is integrated.
Find and fix the responsible delivery/readiness/presentation race with regression coverage. Preserve exact OS dispatch, single-instance fencing, per-document acknowledgement and account isolation. Do not weaken assertions, fake renderer acknowledgements, skip this gate, or merely extend timeouts. Keep finite sanitized diagnostics if further distinction is necessary. Reproduce with real packaged Mac where practical; root owns [email protected] and user profiles, so do not restart that app or alter credentials. Existing all-four package run 34549946612 passed on the Connect UI revision, showing intermittency rather than proof of resolution. Link Closes this issue and reference #2323. No Windows work or unrelated UI polish.
Root review note: DEEP_LINK_DELIVERY_FAILED is not yet proof of an acknowledgement timeout. DeepLinkDelivery.drain also routes exceptions from delivered(value, consumption, window) into the same failure callback, including assertNativeRendererConsumption in main.ts (expected open-queued/target or nativeSmokeWindow mismatch). Please distinguish missing/rejected acknowledgement from delivered-callback assertion failure rather than assuming a timeout. Renderer useDesktopDeepLinks open handling binds to activeProfileId and returns null when no bound profile; stageConnectCandidate can move phase to choose. Check these paths with production semantics preserved.
Concrete candidate race from root source review: DesktopExperience startup Promise.all(profiles.list/getActiveId) calls connect(active) unless hasPendingConnectCandidate() is already true. With savedAccounts enabled, connect(active) immediately enqueues profiles.setActiveId(null), then clears activeProfileId.current. If initial cold Connect delivery reaches the consumer just after startup begins auto-connect, stageConnectCandidate cancels the connection attempt and moves to choose but does not restore the cleared active selection. Subsequent open may then have no bound profile and return null; native fixture also expects native-local to remain active. Please reproduce both orderings (cold link before/after saved-profile reads) rather than relying on scheduling. This is a hypothesis to verify, not permission to restore an account across an explicit user switch or bypass identity checks.
Completed by #2329, merged into desktop epic at 6153f4c (not main). All four Linux/macOS package/lifecycle jobs passed in run 34553268673 on e8c3980; final f39b63d changes only the local-setup test fixture. Root independently passed all 122 UI files / 965 tests on final head, alongside prior 461/462 non-UI full-suite runs and 60 packaged Linux screenshot/accessibility/OCR checks. Mac Intel warm-open lifecycle now passes. Final live UI acceptance remains tracked separately.
Activity
propr-dev commentedon Sep 11, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6-astra2328/gpt-6-astra-desktop-fix-warm-open-ren-20260911-0142-txi1950-epic-cross-platform-dskissue-2328-20260911-0142-gpt-6-astra-txi🔍 Track Task Execution
integry commentedon Sep 11, 2026
Root review note: DEEP_LINK_DELIVERY_FAILED is not yet proof of an acknowledgement timeout. DeepLinkDelivery.drain also routes exceptions from delivered(value, consumption, window) into the same failure callback, including assertNativeRendererConsumption in main.ts (expected open-queued/target or nativeSmokeWindow mismatch). Please distinguish missing/rejected acknowledgement from delivered-callback assertion failure rather than assuming a timeout. Renderer useDesktopDeepLinks open handling binds to activeProfileId and returns null when no bound profile; stageConnectCandidate can move phase to choose. Check these paths with production semantics preserved.
integry commentedon Sep 11, 2026
Concrete candidate race from root source review: DesktopExperience startup Promise.all(profiles.list/getActiveId) calls connect(active) unless hasPendingConnectCandidate() is already true. With savedAccounts enabled, connect(active) immediately enqueues profiles.setActiveId(null), then clears activeProfileId.current. If initial cold Connect delivery reaches the consumer just after startup begins auto-connect, stageConnectCandidate cancels the connection attempt and moves to choose but does not restore the cleared active selection. Subsequent open may then have no bound profile and return null; native fixture also expects native-local to remain active. Please reproduce both orderings (cold link before/after saved-profile reads) rather than relying on scheduling. This is a hypothesis to verify, not permission to restore an account across an explicit user switch or bypass identity checks.
fix(ai): Resolve issue #2328 - Desktop: fix warm-open renderer delive…
integry commentedon Sep 11, 2026
Completed by #2329, merged into desktop epic at 6153f4c (not main). All four Linux/macOS package/lifecycle jobs passed in run 34553268673 on e8c3980; final f39b63d changes only the local-setup test fixture. Root independently passed all 122 UI files / 965 tests on final head, alongside prior 461/462 non-UI full-suite runs and 60 packaged Linux screenshot/accessibility/OCR checks. Mac Intel warm-open lifecycle now passes. Final live UI acceptance remains tracked separately.