mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-18 05:39:50 +08:00
* fix(cli): clear stale last-used sandbox on deletion When a sandbox is deleted, the locally stored last-used record now gets cleared if it matches the deleted sandbox name. This prevents subsequent commands from falling back to a sandbox that no longer exists, which previously caused confusing gRPC errors. Adds clear_last_sandbox_if_matches() to openshell-bootstrap and calls it from sandbox_delete() after each successful deletion. Closes #172 Signed-off-by: Serge Panev <spanev@nvidia.com> * style: fix rustfmt import ordering and line wrapping Signed-off-by: Serge Panev <spanev@nvidia.com> * fix(cli): pass gateway to sandbox_delete in finalize_sandbox_create_session Signed-off-by: John Myers <johntmyers@users.noreply.github.com> --------- Signed-off-by: Serge Panev <spanev@nvidia.com> Signed-off-by: John Myers <johntmyers@users.noreply.github.com> Co-authored-by: John Myers <johntmyers@users.noreply.github.com>