Skip to content

fix(ci): avoid repeated Electron client certificate handshake - #1927

Merged
vastsa merged 2 commits into
mainfrom
fix/ci-provider-client-cert
Oct 27, 2026
Merged

vastsa merged 2 commits into
mainfrom
fix/ci-provider-client-cert

Conversation

@vastsa

@vastsa vastsa commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Avoid a second Chromium TLS handshake in the Linux client-certificate E2E by replaying the captured fixture failure for subsequent probes.
  • Preserve coverage of the real metadata fallback, proxy routing, redirect guard, and cancellation.
  • Update the E2E scenario documentation.

Validation

  • Provider client-certificate E2E on macOS
  • 18 targeted metadata and child-process tests
  • Docs checks and VitePress build

The Linux E2E can leave a second Electron TLS handshake pending after the baseline probe. Reuse the isolated fixture failure so the metadata fallback, proxy, redirect, and cancellation paths stay covered without repeating that handshake.
Copilot AI balanced review requested due to automatic review settings October 27, 2026 15:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

The radial menu's copy predicates read every historical message body during each transcript update, even while the menu is disabled. The long-history E2E caught the regression. Read the predicates only when a menu is actually built.
@vastsa
vastsa merged commit c9e6f05 into main Oct 27, 2026
7 checks passed
jiangchuanso added a commit to jiangchuanso/PI-Desktop that referenced this pull request Oct 27, 2026
…lient certificate handshake, vastsa#1927)

Sync upstream/main: avoid the repeated Electron client certificate handshake (vastsa#1927)
@vastsa
vastsa deleted the fix/ci-provider-client-cert branch November 6, 2026 04:24

This branch was previously deployed

1 inactive deployment
Preview — af12c163 Deployed Oct 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants