Skip to content

Fix connector creation and gate macOS releases on local and OAuth UI journeys - #18

Merged
kasperjunge merged 3 commits into
mainfrom
fix/connector-editor-create
Oct 11, 2026
Merged

kasperjunge merged 3 commits into
mainfrom
fix/connector-editor-create

Conversation

@kasperjunge

@kasperjunge kasperjunge commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Saving a new connector assigned a local UUID before choosing create versus update, causing a 404. Keep its ID empty until the backend responds, separate credential naming from connector identity, and preserve credential references and canonical IDs across retries. Also fix the arguments editor’s border intercepting clicks and keep connector details/settings attached when an offline OAuth draft receives its backend ID.

The required macOS artifact acceptance job now runs two precompiled XCUITest journeys against the exact installed DMG:

  • Create a local connector, discover and enable its tool, call it through the packaged agent bridge, edit and relaunch.
  • Add an HTTPS MCP connector, sign in through a real browser using a local OAuth/PKCE fixture, enable and call its tool, refresh the token, then relaunch and call again without another sign-in.

No API shortcut creates or enables connectors. Both journeys must pass with no skipped tests. Preserve xcresult screenshots and protocol evidence on failure. The fixture uses synthetic credentials, temporary data, and process-local certificate trust; it never accesses real accounts or the login Keychain. Local runs use a disposable app identity; CI preserves the release identity. SwiftPM, macOS 14+ compatibility, shared backend, Enterprise/Community, and Windows behavior remain unchanged.

Prepare desktop 0.2.2. Local validation: both packaged UI journeys passed (2 tests, 0 failures), native regression/backend/lifecycle tests passed, 26 policy/fixture tests passed, and changed Python helpers passed Ruff. A mutation restoring the original UUID bug failed the intended regression assertion. PR CI run 38164437123 passed policy, macOS, Windows, and unchanged-DMG acceptance. The fresh-Mac OAuth audit confirms one browser sign-in, one PKCE exchange, one refresh, and three authenticated agent calls. Shared Semgrep reports existing findings outside this desktop change.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 813ac63 2026-10-11T18:35:41.176Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 6d9f46c 2026-10-11T18:04:15.132Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 4c79367 2026-10-11T17:57:12.056Z Visit the dashboard ↗

@kasperjunge kasperjunge changed the title Fix connector creation and add a packaged macOS UI release gate Fix connector creation and gate macOS releases on local and OAuth UI journeys Oct 11, 2026
@kasperjunge
kasperjunge merged commit cba870b into main Oct 11, 2026
5 checks passed
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.

1 participant