Skip to content

feat(cli): support XL and XXL VM sandbox sizes - #38

Merged
farhan-helmy merged 3 commits into
boxcompute:mainfrom
kyzer1023:feat/sandbox-xl-xxl
Nov 30, 2026
Merged

farhan-helmy merged 3 commits into
boxcompute:mainfrom
kyzer1023:feat/sandbox-xl-xxl

Conversation

@kyzer1023

@kyzer1023 kyzer1023 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

What and why

The hosted VM create API offers XL and XXL to accounts with Starter or organization access. bxc sandbox start --size accepts both values and sends the selected size through the SDK. The default is small. Keyed retries send the same create body and key, and eligibility denials surface the API error. Hosted VM create contract

How it was tested

  • Bun 1.3.14 typecheck, 111 tests, lint, and build on Linux
  • Go 1.27.1 native tests, npm pack --dry-run, and installed-package smoke tests on Node 20, 22, and 24
  • Release validation confirmed 0.15.0 is available on npm

The new tests verify both sizes on the create request, the same key and body on replay, and the server's 403 response after a single request.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

farhan-helmy
farhan-helmy previously approved these changes Nov 30, 2026

@farhan-helmy farhan-helmy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks. The API on main already accepts xl and xxl and returns 403 FEATURE_ACCESS_DENIED to accounts without access. The eligibility wording matches the public size table. The cast in sdk.ts is fine until the SDK types catch up. CI passes.

Before merge: please rebase onto main to resolve the CHANGELOG.md and package.json conflicts.

Optional: the start help could list XL and XXL CPU and memory, as it already does for small and large.

Bring in 0.14.3. The 0.15.0 changelog entry sits above it and the
package keeps 0.15.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
farhan-helmy
farhan-helmy previously approved these changes Nov 30, 2026

@farhan-helmy farhan-helmy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I merged main into this branch to bring in 0.14.3 (no force push). The only conflicts were in CHANGELOG.md and package.json. Your 0.15.0 entry now sits above 0.14.3, and the package keeps 0.15.0. The rest of the diff is unchanged, and CI passes, including the Windows job from #37. Re-approving, since the push dismissed my earlier review.

No action needed from you. I'll update the changelog again if another PR lands first.

Bring in 0.14.4. The 0.15.0 changelog entry sits above it and the
package keeps 0.15.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@farhan-helmy
farhan-helmy merged commit c124523 into boxcompute:main Nov 30, 2026
6 checks passed
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