You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): resolve 6 bugs found during E2E testing (#110)
* fix(cli): resolve 6 bugs found during E2E testing
- datasets create: add missing -o/--output flag; move banner to stderr
- sandbox new: move "Sandbox created" banner to stderr so -o json is parseable
- sandbox read: use println! instead of print! to ensure trailing newline
- sandbox: add delete subcommand (DELETE /sandboxes/{id})
- workspaces set: check HOTDATA_SANDBOX instead of HOTDATA_WORKSPACE; update error message
- context push: surface friendly hint when server blocks push inside an active sandbox
* fix(sandbox): move update banner to stderr; add functional test suite
- sandbox update: move "Sandbox updated" banner to eprintln! (stderr)
so -o json stdout is clean — same fix as sandbox new
- scripts/test_commands.sh: new comprehensive functional test script
covering all 128 command/subcommand/flag/output-format combinations,
with real API calls, resource lifecycle, and cleanup
* fix(sandbox): clear active session after deleting the active sandbox
When the deleted sandbox is the currently active one (tracked via
HOTDATA_SANDBOX env var or config.sandbox), clear the cached sandbox
session and config pointer so subsequent commands do not keep routing
through a stale JWT -- mirrors what sandbox set (no args) already does.
* fix(sandbox): block delete inside an active sandbox run
Add check_sandbox_lock() to sandbox::delete for consistency with new,
run, and set -- prevents silently deleting the sandbox you are currently
running inside.
* revert: remove test script from PR
---------
Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>
0 commit comments