Skip to content

Return expired health verdicts for rejected OAuth refreshes and fix DCR reconnect - #1316

Merged
RhysSullivan merged 3 commits into
mainfrom
mcp-oauth-health-reconnect-repro
Jul 4, 2026
Merged

Return expired health verdicts for rejected OAuth refreshes and fix DCR reconnect#1316
RhysSullivan merged 3 commits into
mainfrom
mcp-oauth-health-reconnect-repro

Conversation

@RhysSullivan

@RhysSullivanRhysSullivan commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

When an OAuth provider rejects a refresh with invalid_grant, health checks now return a persisted expired verdict instead of an internal error, and the DCR reconnect handoff carries the stored OAuth client so the reconnect dialog opens and starts the OAuth flow. Includes e2e coverage for both paths.

@github-actions

github-actionsBot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

cloudflare-workers-and-pagesBot 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.

StatusNameLatest CommitPreview URLUpdated (UTC)
✅ Deployment successful!
View logs
executor-marketing908155dCommit Preview URL

Branch Preview URL
Jul 04 2026, 10:20 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pagesBot 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.

StatusNameLatest CommitUpdated (UTC)
✅ Deployment successful!
View logs
executor-cloud908155dJul 04 2026, 10:21 AM

@pkg-pr-new

pkg-pr-newBot commented Jul 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

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

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

executor

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

commit: 908155d

@RhysSullivanRhysSullivan changed the title Add e2e repro for MCP OAuth health-check 500 and reconnect modal closeReturn expired health verdicts for rejected OAuth refreshes and fix DCR reconnectJul 4, 2026
@RhysSullivan
RhysSullivan marked this pull request as ready for review July 4, 2026 09:40
@RhysSullivan
RhysSullivan merged commit fd4fb02 into mainJul 4, 2026
21 checks passed
@RhysSullivan
RhysSullivan deleted the mcp-oauth-health-reconnect-repro branch July 4, 2026 10:24
Sign up for freeto 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

@RhysSullivan