Support data-plane selection and colocated trial storage in tenantCreate - #3578
Draft
GregorShear wants to merge 1 commit into
Draft
GregorShear wants to merge 1 commit into
GregorShear wants to merge 1 commit into
Conversation
GregorShear
force-pushed
the
codex/tenant-create-data-plane-selection
branch
from
October 6, 2026 01:57
814a717 to
7be4d8a
Compare
GregorShear
force-pushed
the
codex/tenant-create-data-plane-selection
branch
from
October 6, 2026 03:00
e293d8d to
29bb6f4
Compare
GregorShear
force-pushed
the
codex/tenant-create-data-plane-selection
branch
from
October 6, 2026 12:30
29bb6f4 to
ab3f373
Compare
This branch has not been deployed
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.
Description:
Reimplements the signup data-plane selection work from #3318 on top of
tenantCreate(#3542) and its current MSA consent flow. Adds an optionaldataPlaneargument, validates that it names an open public plane, and orders tenant storage mappings with the selected plane first. When omitted, selection prefersops/dp/public/aws-us-east-1-c2, falling back to the newest open public plane if that default is unavailable.Adds colocated AWS trial storage for collection and recovery mappings, and closes the deprecated GCP us-central1 c1/c2 planes to new signup selection. Tenant provisioning, storage mappings, and MSA consent commit atomically.
Workflow steps:
dataPlanedirectly totenantCreatealongside the existing name, MSA terms ID, and optional survey arguments.Documentation links affected:
Updates
crates/control-plane-api/README.mdand the checked-in GraphQL schema. No external documentation changes included.Notes for reviewers:
cargo fmtandgit diff --checkpassed.mise exec -- cargo build -p flow-client --features generatein Lima.mise exec -- cargo nextest run -p control-plane-api -E 'test(server::public::graphql::tenant::)'passed all 14 tenant tests, including omitted/default data-plane selection.