Skip to content

Desktop macOS CI: diagnose recurring warm-open lifecycle evidence failure #2323

Closed

Description

@integry

Parent #1950 / #1970. Separate child PR targeting 1950-epic-cross-platform-dsk. Do not modify unrelated UI or Windows.

Mac Intel package job 103104798940, run 34547879385, fails at NativeLifecycleOperationFailure stage WARM_OPEN_EVIDENCE after packaging and prior warm tunnel dispatch succeeded. Source is PR merge ef45bef (epic eb9a548 + #2311 head 37f1b4c). Same stage failed on an earlier header-child run, while later 8d8628d all-platform package run passed. Root reviewed job logs using gh api repos/integry/propr/actions/jobs/103104798940/logs. Relevant code apps/desktop/scripts/test-native-artifact-lifecycle.mjs around 1468, awaiting desktop.deeplink.warm_open_once after dispatchDirect.

Diagnose race, dispatch failure, or product defect from evidence; implement a bounded targeted fix with regression coverage. Preserve real packaged OS dispatch, single-instance behavior, exact application identity, privacy, bounded waits and cleanup. Do not solve by skipping assertions, blindly retrying whole jobs, or merely extending timeouts. Improve sanitized stage diagnostics if existing evidence is insufficient. #2311 is independently handling Mac Keychain test GUI launch and About description; #2322 handles Connect shortcut. Do not restart user apps/backend or touch real credentials. Link child PR with Closes this issue.

Activity

  1. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Please start this independent targeted investigation/implementation. AI label is already present. Keep native acceptance assertions intact and base the fix on the observed warm-open stage failure.

  2. propr-dev commented on Sep 11, 2026

    @propr-dev
    Contributor

    🤖 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:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 2323/gpt-6-astra-desktop-macos-ci-diagnose-20260911-0059-pb8
    • Base Branch: main
    • Worktree: issue-2323-20260911-0059-gpt-6-astra-pb8

    🔍 Track Task Execution

  3. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Branch prerequisite clarification: if provisioned from main, explicitly fetch origin/1950-epic-cross-platform-dsk and merge the epic into your clean issue branch before diagnosis/implementation. This is authorized; do not reset/discard unrelated work. Desktop source and lifecycle script are on that epic, not main. Target child PR to 1950-epic-cross-platform-dsk.

  4. propr-dev commented on Sep 11, 2026

    @propr-dev
    Contributor

    ✅ No code changes needed - the implementation was already complete.

    AI Processing Completed

    Execution Details:

    Summary:
    Blocked: this checkout has no apps/desktop directory or desktop lifecycle tests.

    I reviewed the referenced CI log and source. Warm tunnel acknowledgement and warm-open dispatch completed, but the error wrapper hides whether the subsequent failure was an app exit, timeout, or renderer delivery failure. The evidence doesn’t establish a root cause.

    Please prepare the workspace from 1950-epic-cross-platform-dsk, as the issue specifies. No repository files changed; no tests run.

    Detailed Logs:

    • Conversation: 32 messages
    • Session: 01a08dfa-a2e5-75c1-92c0-cc71e7e3fad0

    Log files stored at:

    • conversation: /tmp/claude-logs/issue-2323-2026-09-11T01-01-45-643Z-conversation.json
    • output: /tmp/claude-logs/issue-2323-2026-09-11T01-01-45-643Z-output.txt
    Latest Conversation Messages

    This processing report was generated automatically by ProPR for issue #2323.

  5. propr-dev commented on Sep 11, 2026

    @propr-dev
    Contributor

    🤖 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:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 2323/gpt-6-astra-desktop-macos-ci-diagnose-20260911-0103-cfj
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2323-20260911-0103-gpt-6-astra-cfj

    🔍 Track Task Execution

  6. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Dispatch metadata corrected: base-1950-epic-cross-platform-dsk is now applied and incorrect AI-done cleared. Please resume the lifecycle investigation from that base. AI remains enabled.

  7. added a commit that references this issue on Sep 11, 2026
  8. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Reviewed diagnostic change merged into epic through #2326; keeping this issue OPEN because the underlying warm-open failure is not yet explained. Root 26 lifecycle tests pass. Diagnostic Mac ARM64 CI passed; Intel job 103109609421 on run 34549557949 failed earlier during dependency downloads (prebuild-install timeout and nodejs.org headers connect timeout), so it did not exercise the new lifecycle diagnostics. Targeted job retry is pending workflow completion; GitHub rejected retry while other jobs are running. No assertion or timeout was weakened.

  9. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Resolved by startup-intent race correction #2329, merged into desktop epic at 6153f4c. Diagnostic Intel failure WARM_TUNNEL_ACK / DEEP_LINK_DELIVERY_FAILED reproduced in job 103113438439; corrected native Intel lifecycle passed job 103120656446 in run 34553268673. All four Linux/macOS lifecycle jobs passed. Final follow-up only repairs a test fixture; production code unchanged. Root entire UI suite: 965/965 passed. This closes the lifecycle defect, not final user-machine acceptance or public-release readiness.

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