Skip to content

Reconnect updates the existing DCR connection#1324

Draft
RhysSullivan wants to merge 5 commits into
mainfrom
mcp-dcr-reconnect-duplicate
Draft

Reconnect updates the existing DCR connection#1324
RhysSullivan wants to merge 5 commits into
mainfrom
mcp-dcr-reconnect-duplicate

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Reconnecting an expired DCR OAuth connection created a second connection instead of re-authing the existing one: the flow went through the create path with the old name as a display label, which got re-normalized into a new slug. Reconnect now carries an exact connection reference through the OAuth session so the same row is updated in place, with a typed error if the connection was removed mid-flow.

Includes an e2e repro for the duplicate, plus an expected-failure repro for a related symptom: after a successful reconnect the row keeps showing Expired until a hard refresh (the mounted health probe isn't cleared). That fix will follow.

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-1324.executor-e2e.workers.dev
MCP https://executor-preview-pr-1324.executor-e2e.workers.dev/mcp
Deployed commit 406a365

Sign-in is Cloudflare Access (one-time PIN to an allowed email). The preview has its own database and encryption key; it is destroyed when this PR closes.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 4, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 406a365 Commit Preview URL

Branch Preview URL
Jul 04 2026, 11:06 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 4, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 406a365 Jul 04 2026, 11:07 PM

@pkg-pr-new

pkg-pr-new Bot commented Jul 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1324

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1324

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1324

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1324

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1324

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1324

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1324

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1324

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1324

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1324

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1324

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1324

executor

npm i https://pkg.pr.new/executor@1324

commit: 406a365

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