Repository navigation
Stop creating organizations in v1; send org-less sessions to v2 - #2498
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | d1919a0 | Nov 05 2026, 04:46 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | d1919a0 | Commit Preview URL Branch Preview URL |
Nov 05 2026, 04:45 AM |
Cloudflare previewTorn down — the PR is closed. |
@executor-js/cli
@executor-js/config
@executor-js/execution
@executor-js/sdk
@executor-js/codemode-core
@executor-js/runtime-quickjs
@executor-js/plugin-file-secrets
@executor-js/plugin-graphql
@executor-js/plugin-keychain
@executor-js/plugin-mcp
@executor-js/plugin-onepassword
@executor-js/plugin-openapi
executor
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v1 no longer creates organizations. Every new organization is created in Executor v2.
POST /api/auth/create-organizationcreates nothing. It answersOrganizationCreationMoved(410) with v2's sign-up URL.V2_SIGN_UP_URL) instead of/create-org. A session with a pending invitation into an existing org goes to a new/joinpage instead. That page keeps the invitation list from the old/create-orgpage. The client gate sends org-less sessions to/joinmid-session, and/joinforwards to v2 when there is nothing to accept./create-orgredirects every signed-in session to v2's sign-up page./create-orgin a new tab, like the sidebar's other v2 links./setup-mcp(only reached after creating an org), the free-org limit, and WorkOScreateOrganization/createMembership.Members of existing orgs are unaffected. Sign-in, invitations, org switching, the moved-org redirect, freeze and MCP forwarding work as before.
Tests are in #2499. This layer alone fails e2e because the e2e harness still creates orgs through the old endpoint. The tests layer moves it to seeding orgs in the WorkOS emulator.