Skip to content

Route sign-up and v2 paths on executor.sh to v2 - #2206

Closed
RhysSullivan wants to merge 4 commits into
mainfrom
cloud/v1-edge-v2-forward
Closed

RhysSullivan wants to merge 4 commits into
mainfrom
cloud/v1-edge-v2-forward

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

The executor.sh edge (apps/cloud/src/edge/marketing.ts) now hands a few requests to v2 before the Start graph loads:

  • GET /sign-up and GET /signup redirect (302) to V2_SIGN_UP_URL, a wrangler var set to https://v2.executor.sh/login?mode=signup.
  • These exact paths are forwarded to v2's Worker over a service binding (V2): /.well-known/oauth-authorization-server/api/auth, /api/auth/callback/<provider>, /git/*, /.well-known/agent-skills/*. A pattern is exact or /x/*.

v1's own /api/auth/callback (no provider segment) stays with v1. Forwarding keeps the URL (v2 sees host executor.sh), method, body stream, status and headers including Authorization; it drops the Cookie header and client-sent X-Forwarded-Host/-Proto, and does not follow v2's redirects. Only requests for executor.sh are affected.

Also reserves the git, apps and experiments org slugs (the other edge roots were already reserved).

Tests are in the PR above this one.

@RhysSullivan
RhysSullivan added this pull request to stack #2208 October 8, 2026 06:24
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 8, 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 5bb09cd Commit Preview URL

Branch Preview URL
Oct 08 2026, 01:47 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 8, 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 5bb09cd Oct 08 2026, 01:47 PM

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-2206.executor-e2e.workers.dev
MCP https://executor-preview-pr-2206.executor-e2e.workers.dev/mcp
Deployed commit 5bb09cd

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 Oct 8, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

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

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

executor

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

commit: 5bb09cd

@RhysSullivan

Copy link
Copy Markdown
Collaborator Author

Merged into main through the integration PRs #2220 and #2217 (squash), so this layer is already live.

Sent from my Claude

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