Repository navigation
Follow the sbx 0.48.0 CLI on create and ls - #84
Merged
Merged
Conversation
Docker Sandboxes 0.48.0 removed `--quiet` from `sbx create` and made `sbx ls --json` return the sandbox array itself. drukbox captures the output of `create` anyway, so it sends no quiet flag. `sandbox_count` reads the array and rejects any other shape. The deploy doc names 0.48.0 as the minimum `docker-sbx` version. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The only listing shape the guard caught comes from an sbx older than 0.48.0, which the deploy doc rules out. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Docker Sandboxes 0.48.0 changed the CLI.
sbx createno longer accepts--quiet(0.49.2 answers "unknown flag"), andsbx ls --jsonreturns the sandbox array itself instead of{"sandboxes": [...]}. On a host with sbx 0.48 or later, every sandbox creation and every sandbox count fails.What
create_sandboxsends no quiet flag. drukbox captures the command output anyway.sandbox_countreads the array and treatsnullas empty.docker-sbx0.48.0 as the minimum version.The change targets sbx 0.48 and later only. Upgrade
docker-sbxon a host before it pulls this drukbox image.Checks
uv run ruff check,uv run ruff format --check: passuv run pyright: 0 errorsuv run pytest: 855 passedNot run against a live 0.49.2 daemon.
🤖 Generated with Claude Code