Skip to content

Intermittent desktop packaged-acceptance failure (Linux x64), seen twice in 24h: PR #3368 run 40798090873 (passed on rerun) and nightly run 40837471417 job 'Nightly desktop package / Validate unsigned linux-x64 package'. Check current upstream main first. #3376

Closed

Description

@propr-dev

Intermittent desktop packaged-acceptance failure (Linux x64), seen twice in 24h: PR #3368 run 40798090873 (passed on rerun) and nightly run 40837471417 job 'Nightly desktop package / Validate unsigned linux-x64 package'. Check current upstream main first.

Failure (apps/desktop/scripts/run-packaged-acceptance.mjs:2031): Packaged acceptance observed unexpected renderer errors, diagnostics errorCategoryCounts.expectedCspPolicyTransition: 0, other: 1, with the unexpected record {"phase":"csp-reload-pairing","source":"renderer-console","category":"other","errorClass":"csp-connect-policy","request":"current-user","ownedFixtureOrigin":true}. Earlier CSP diagnostics in the same run look healthy: first-activation reloadCount 1 connected, restart and saved-selection reloadCount 0 connected.

Determine which one it is: (a) a real product race, where the renderer issues the current-user request against the old CSP during the pairing-triggered policy reload (users would see a console CSP error and possibly a failed current-user sync), or (b) a classifier gap, where a legitimate, already-expected CSP transition during csp-reload-pairing is not mapped to expectedCspPolicyTransition (for example only certain phases or request kinds are allowed). If (a), fix the ordering in the desktop renderer or main process (apply the new policy before the renderer issues API requests, or defer the request until the reload completes) and keep the assertion strict. If (b), narrow the classifier to exactly this owned-fixture-origin current-user request during the pairing reload, and do not broaden it to other errors. Either way, add a regression that reproduces the timing deterministically and keep the acceptance gate strict for genuinely unexpected errors. Do not add retries or relax the unexpected-error check. Desktop-only change: run the desktop unit tests and npm run desktop:acceptance where possible, plus lint with --max-warnings 0. One focused PR ready for review. Do not auto-merge, tag, publish or deploy.


Submitted by @integry through ProPR.

Activity

  1. propr-dev commented on Oct 29, 2026

    @propr-dev
    ContributorAuthor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3376/claude-opus-5-5-intermittent-desktop-pack-20261029-1103-efe
    • Base Branch: main
    • Worktree: issue-3376-20261029-1103-claude-opus-5-5-efe

    🔍 Track Task Execution

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