Skip to content

Let users cancel and retry OAuth sign-in - #2070

Draft
RhysSullivan wants to merge 2 commits into
mainfrom
fix/connection-oauth-cancel
Draft

RhysSullivan wants to merge 2 commits into
mainfrom
fix/connection-oauth-cancel

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Closing the provider window can leave Add connection stuck on a disabled Connecting button. Keep the connection form visible and replace the waiting button with an enabled Cancel sign-in action. Close stays available. Cancel immediately restores Connect.

Keep each OAuth attempt's response separate so a delayed response cannot reopen a cancelled flow or cancel a newer session.

Validation: three focused browser scenarios pass, including consent after both interruption and an overlapping retry. They also assert that the existing form stays visible during sign-in. The same interrupted-flow test fails on main. 80 focused unit checks, React/E2E types, and scoped lint pass. Provider checks use the published Slack emulator.

A separate MCP origin-drift check completed reconnect but failed its final health assertion after discovery timed out locally. CI is still running.

OAuth sign-in before and after

@github-actions

github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-2070.executor-e2e.workers.dev
MCP https://executor-preview-pr-2070.executor-e2e.workers.dev/mcp
Deployed commit 2fbc1fb

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.

@pkg-pr-new

pkg-pr-new Bot commented Sep 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

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

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

executor

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

commit: 2fbc1fb

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 18, 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 2fbc1fb Commit Preview URL

Branch Preview URL
Sep 18 2026, 09:47 PM

@cloudflare-workers-and-pages

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 2fbc1fb Sep 18 2026, 09:48 PM

This branch has not been deployed

No deployments
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