feat(sandbox): add /delete endpoint + STOPPED → DELETED for --rm containers#1038
Merged
Merged
Conversation
zhangjaycee
force-pushed
the
feature/delete
branch
3 times, most recently
from
May 29, 2026 10:22
bcb0b47 to
b901aff
Compare
zhangjaycee
marked this pull request as ready for review
May 29, 2026 10:23
zhangjaycee
force-pushed
the
feature/delete
branch
4 times, most recently
from
June 3, 2026 08:21
acb41a3 to
6a23ae3
Compare
StephenRi
approved these changes
Jun 3, 2026
zhangjaycee
force-pushed
the
feature/delete
branch
from
June 3, 2026 09:37
6a23ae3 to
ab8af16
Compare
…-rm containers
Add a DELETE /sandbox/{id} endpoint that transitions STOPPED sandboxes
to DELETED state, cleaning up containers and archiving metadata.
When `remove_container=True`, the stop flow cascades directly to DELETED
via DeleteReason.IMMEDIATE — the container is already gone after
operator.stop, so we skip the intermediate STOPPED state entirely.
zhangjaycee
force-pushed
the
feature/delete
branch
from
June 3, 2026 09:53
ab8af16 to
2ffa36b
Compare
jake11-oho
pushed a commit
to jake11-oho/ROCK
that referenced
this pull request
Jun 10, 2026
…-rm containers (alibaba#1038) Add a DELETE /sandbox/{id} endpoint that transitions STOPPED sandboxes to DELETED state, cleaning up containers and archiving metadata. When `remove_container=True`, the stop flow cascades directly to DELETED via DeleteReason.IMMEDIATE — the container is already gone after operator.stop, so we skip the intermediate STOPPED state entirely.
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.
close #1032