Skip to content

feat(cli): add stop command - #152

Merged
nicholaspun-wandb merged 1 commit into
mainfrom
cli-stop-command
Aug 19, 2026
Merged

feat(cli): add stop command#152
nicholaspun-wandb merged 1 commit into
mainfrom
cli-stop-command

Conversation

@nicholaspun-wandb

@nicholaspun-wandb nicholaspun-wandb commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a top-level cwsandbox stop command
  • support --missing-ok, --snapshot-on-stop, --no-wait-for-snapshot, --request-id, --graceful-shutdown-seconds, and --quiet
  • cover command registration, option forwarding, not-found handling, and option validation

Test plan

  • UV_CACHE_DIR=/private/tmp/cwsandbox-client-uv-cache uv run pytest tests/unit/cwsandbox/test_cli_*.py
  • UV_CACHE_DIR=/private/tmp/cwsandbox-client-uv-cache uv run pytest tests/unit/cwsandbox/test_file_system_snapshot.py -q
  • UV_CACHE_DIR=/private/tmp/cwsandbox-client-uv-cache uv run ruff check src/cwsandbox/cli/stop.py tests/unit/cwsandbox/test_cli_stop.py src/cwsandbox/cli/__init__.py
  • UV_CACHE_DIR=/private/tmp/cwsandbox-client-uv-cache uv run ruff format --check src/cwsandbox/cli/stop.py tests/unit/cwsandbox/test_cli_stop.py src/cwsandbox/cli/__init__.py
  • UV_CACHE_DIR=/private/tmp/cwsandbox-client-uv-cache uv run mypy src/

@nicholaspun-wandb
nicholaspun-wandb force-pushed the cli-stop-command branch 2 times, most recently from 6adbdac to 0ac82bc Compare August 15, 2026 00:19
@nicholaspun-wandb
nicholaspun-wandb merged commit 9797ff9 into main Aug 19, 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