Skip to content

Desktop packaged Connect: stabilize macOS ARM64 reprobe renderer readiness #2111

Closed

Description

@integry

Problem

On the combined Linux/macOS transport tree containing #2108 and #2110, packaged macOS ARM64 reproducibly reaches the fresh reprobe renderer milestone but fails to publish the final connected renderer state before the bounded wait expires.

Exact failures:

Both runs pass ephemeral certificate creation, private keychain setup, application signing, initial signature verification, the complete pairing journey, activation, authenticated transport evidence, and cleanup. Both then emit JOURNEY_REPROBE_REACT_CONNECTED followed by a reprobe-stage RENDERER_STATE_TIMEOUT. Darwin x64 and Linux x64/ARM64 pass the same packaged journey. This is not a signing, Safe Storage, browser-approval count, or pairing protocol failure.

Required correction

Diagnose the deterministic Darwin ARM64 renderer-state publication/wait boundary after fresh reprobe. Fix the owned lifecycle/race without increasing broad timeouts or weakening evidence.

Preserve:

  • real packaged pair plus fresh-process reprobe;
  • exact three pairing starts and three credentialless approval GETs, one poll, one activation;
  • activation and authenticated REST/Socket.IO proof;
  • renderer ownership and trusted-origin checks;
  • no request after terminal state;
  • ephemeral certificate-backed signing, stable verification, and cleanup;
  • current Darwin x64 and Linux x64/ARM64 behavior.

Add a focused regression that reproduces the ARM64 scheduling/order condition and proves the final connected renderer state is observed only after the transport is genuinely ready. Diagnostics must remain fixed and secret-safe. Do not touch Windows-specific behavior.

Acceptance

Fresh packaged Connect CI passes on Darwin ARM64 and remains green on Darwin x64 and Linux x64/ARM64. Full desktop tests and unsigned Darwin/Linux package validation pass.

Activity

  1. propr-dev commented on Sep 4, 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: 2111/gpt-5.6-sol-desktop-packaged-connect--20260904-1814-df5
    • Base Branch: 1953-epic-desktop-transport-api
    • Worktree: issue-2111-20260904-1814-gpt-5.6-sol-df5

    🔍 Track Task Execution

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

    @integry
    OwnerAuthor

    Implemented by #2114, merged into 1953-epic-desktop-transport-api (db9246e). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.

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

    AIAI-donebugllm-codex-gpt56-sol

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions