Skip to content

add vcpu, memory, disk config#67

Merged
Dingway98 merged 2 commits intomainfrom
sandbox-config
Mar 30, 2026
Merged

add vcpu, memory, disk config#67
Dingway98 merged 2 commits intomainfrom
sandbox-config

Conversation

@Dingway98
Copy link
Copy Markdown
Contributor

@Dingway98 Dingway98 commented Mar 30, 2026

Note

Medium Risk
Changes the sandbox create wire contract and model validation, which could break clients/servers if the backend or payloads don’t match the new vcpus/memMiB/diskSizeMiB fields. Adds new e2e coverage but the change touches core sandbox lifecycle APIs.

Overview
Adds optional cpu, memory_mib, and disk_mib sizing to CreateSandboxParams, serializing to vcpus/memMiB/diskSizeMiB, and surfaces these fields on Sandbox/SandboxDetail plus sync/async SandboxHandle properties.

Enforces that resource sizing is only allowed for image-based launches (rejects snapshot-based launches with these fields), updates README examples, bumps version to 0.89.2, and adds/updates tests including a new e2e that verifies the requested resources are reflected both in API responses and inside the running sandbox.

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

@Dingway98 Dingway98 merged commit 9bfdc9f into main Mar 30, 2026
1 check passed
@Dingway98 Dingway98 deleted the sandbox-config branch March 30, 2026 17:07
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