Skip to content

fix(cli): clear stale last-used sandbox after deletion#448

Open
areporeporepo wants to merge 1 commit intoNVIDIA:mainfrom
areporeporepo:fix/cli-clear-stale-last-sandbox
Open

fix(cli): clear stale last-used sandbox after deletion#448
areporeporepo wants to merge 1 commit intoNVIDIA:mainfrom
areporeporepo:fix/cli-clear-stale-last-sandbox

Conversation

@areporeporepo
Copy link

fixes #172 by clearing the saved last-used sandbox when the deleted sandbox matches it.
tested with cargo test -p openshell-cli --test sandbox_create_lifecycle_integration sandbox_delete_clears_matching_last_used_sandbox -- --exact.

Signed-off-by: anh nguyen <anh.nqqq@icloud.com>
Signed-off-by: areporeporepo <areporeporepo@users.noreply.github.com>
@areporeporepo areporeporepo requested a review from a team as a code owner March 18, 2026 16:27
@github-actions
Copy link

github-actions bot commented Mar 18, 2026

All contributors have signed the DCO ✍️ ✅
Posted by the DCO Assistant Lite bot.

@areporeporepo
Copy link
Author

I have read the DCO document and I hereby sign the DCO.

@areporeporepo
Copy link
Author

recheck

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.

fix(cli): handle stale last-used sandbox after sandbox deletion

1 participant