Skip to content

fix(cli): retire --gvisor and --cpu, correct the credential path (0.13.0) - #31

Merged
farhan-helmy merged 1 commit into
mainfrom
fix/retire-gvisor-flags
Nov 15, 2026
Merged

farhan-helmy merged 1 commit into
mainfrom
fix/retire-gvisor-flags

Conversation

@farhan-helmy

@farhan-helmy farhan-helmy commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

BoxCompute retired gVisor (app 0.51.1) and the server refuses vmSandbox: false, so bxc sandbox start --gvisor and --cpu (which implied gVisor) always fail. The published 0.12.0 help and README still show --cpu 2 / --gvisor --cpu 2, and the bundled boxcompute-sandbox skill tells coding agents "Use --gvisor for a container sandbox instead".

  • --gvisor / --cpu now fail before any request: "gVisor sandboxes are retired: every sandbox is a VM…". Still parsed so the error names the change instead of "unknown option".
  • Removed from help, README, docs/vm-sandbox-beta.md and the skill; buildCreateSandboxRequest drops cpu/gvisor.
  • README credential path: ~/boxcompute (or $XDG_CONFIG_HOME/boxcompute), matching connectionPaths; it said ~/.config/boxcompute.
  • 0.13.0 (removes options). 0.12.1 was never published; its preview-help fix ships in 0.13.0, and its changelog entry says so.

Tests: the scheduler-CPU and gVisor opt-out cases became one refusal test; help asserts neither option appears.

🤖 Generated with Claude Code


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

…3.0)

BoxCompute 0.51.1 retired gVisor container sandboxes and refuses
`vmSandbox: false`, so `bxc sandbox start --gvisor` and `--cpu` (which
implied it) always failed at the server. Help and the README still showed
`--cpu 2` and `--gvisor --cpu 2`, and the bundled boxcompute-sandbox skill told
coding agents to use `--gvisor` for a container sandbox.

The options now fail before any request with a message naming the change;
help, README, docs and the skill no longer offer them. The README also put
the credential under ~/.config/boxcompute, but the CLI uses ~/boxcompute, or
$XDG_CONFIG_HOME/boxcompute when that is set.

0.12.1 was never published to npm; its preview help fix ships here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@farhan-helmy
farhan-helmy merged commit 1f21e06 into main Nov 15, 2026
4 checks passed
@farhan-helmy
farhan-helmy deleted the fix/retire-gvisor-flags branch November 15, 2026 16:24
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.

1 participant