Skip to content

ENG-3145: Add --region flag to sandbox create#456

Open
JannikSt wants to merge 1 commit intomainfrom
feature/sandbox-region-flag
Open

ENG-3145: Add --region flag to sandbox create#456
JannikSt wants to merge 1 commit intomainfrom
feature/sandbox-region-flag

Conversation

@JannikSt
Copy link
Copy Markdown
Member

@JannikSt JannikSt commented Mar 20, 2026

Summary

  • adds --region option to prime sandbox create (e.g. --region asia-south1)
  • adds region field to Sandbox and CreateSandboxRequest models
  • displays region in sandbox details output

Companion to PrimeIntellect-ai/platform#955 which adds multi-cluster sandbox support to the backend.

Usage: prime sandbox create ubuntu:latest --region asia-south1 --team-id <id>


Note

Low Risk
Low risk CLI/SDK surface-area change: adds an optional region field and threads it through create and display paths, with a default fallback for older backends.

Overview
Adds optional multi-region support to sandboxes by introducing a region field on the SDK models (Sandbox, CreateSandboxRequest) and wiring it into prime sandbox create via a new --region flag.

Updates prime sandbox get/details formatting to surface the sandbox region (defaulting to us-central1 when absent) and includes the selected region in the create confirmation output.

Written by Cursor Bugbot for commit a4c312f. This will update automatically on new commits. Configure here.

- Add region field to Sandbox and CreateSandboxRequest models
- Add --region CLI option (e.g. --region asia-south1)
- Display region in sandbox details and configuration summary
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread packages/prime/src/prime_cli/commands/sandbox.py
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a4c312f9bf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/prime/src/prime_cli/commands/sandbox.py
@JannikSt JannikSt changed the title Add --region flag to sandbox create ENG-3145: Add --region flag to sandbox create Mar 20, 2026
Comment thread packages/prime/src/prime_cli/commands/sandbox.py
Comment thread packages/prime/src/prime_cli/commands/sandbox.py
@d42me
Copy link
Copy Markdown
Contributor

d42me commented Mar 24, 2026

CLI tests failing

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.

2 participants