Skip to content

GPU Sandbox Support#398

Open
DamianB-BitFlipper wants to merge 10 commits intomainfrom
gpu-sandbox-support
Open

GPU Sandbox Support#398
DamianB-BitFlipper wants to merge 10 commits intomainfrom
gpu-sandbox-support

Conversation

@DamianB-BitFlipper
Copy link
Contributor

@DamianB-BitFlipper DamianB-BitFlipper commented Feb 25, 2026

The renaming of STOPPED to PAUSED aligns with the backend name change. This is vestigial code not yet used so, technically breaking, but ok to do.


Note

Medium Risk
Introduces a new Connect-RPC execution path (with generated protobufs and new deps) and changes CLI create semantics, which could affect command execution behavior and error handling for GPU vs CPU sandboxes.

Overview
Adds GPU sandbox support end-to-end: models now include gpu_type, CreateSandboxRequest validates gpu_type when gpu_count>0, and sandbox status STOPPED is renamed to PAUSED.

Updates command execution to auto-select transport (REST for CPU, Connect RPC streaming for GPU) with new generated protobuf modules and connect-python/protobuf deps, plus improved mapping of gateway 502 sandbox_not_found into a not-running error.

CLI updates include prime sandbox create GPU flags (--gpu-count/--gpu-type) with enforced argument rules (no docker image for GPU; internal placeholder image), clearer GPU display in list/get, and explicit guards that block port exposure and SSH for GPU sandboxes; docs and tests are updated accordingly.

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

@DamianB-BitFlipper DamianB-BitFlipper marked this pull request as ready for review February 26, 2026 00:13
Copy link

@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: c7b0f97b95

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Copy link

@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.

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

Copy link
Member

@JannikSt JannikSt left a comment

Choose a reason for hiding this comment

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

As mentioned in my comment - should clearly mark gpu count as closed beta atm

sandbox_client.delete(sandbox.id)
```

### GPU Sandbox Example
Copy link
Member

Choose a reason for hiding this comment

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

should flag that this is a closed beta right now

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