Skip to content

Pausing Phase for Sandbox#280

Open
rishisulakhe wants to merge 1 commit intoopenkruise:masterfrom
rishisulakhe:sandbox/pausing-phase
Open

Pausing Phase for Sandbox#280
rishisulakhe wants to merge 1 commit intoopenkruise:masterfrom
rishisulakhe:sandbox/pausing-phase

Conversation

@rishisulakhe
Copy link
Copy Markdown

Ⅰ. Describe what this PR does

Added a Pausing intermediate phase to the Sandbox lifecycle so users can distinguish between "hibernation in progress" and "hibernation complete":

Before: Running -> Paused (pod may still be deleting)
After: Running -> Pausing (pod being deleted) -> Paused (hibernation complete)

Ⅱ. Does this pull request fix one issue?

Fixees #250

Ⅲ. Describe how to verify it

Unit tests(passing)

go test ./pkg/controller/sandbox/... -v -run "TestCalculateStatus"
go test ./pkg/utils/sandboxutils/... -v
go test ./pkg/servers/e2b -v -run "TestPauseSandbox|TestConnectSandbox|TestResumeSandbox"

Ⅳ. Special notes for reviews

@kruise-bot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rishisulakhe rishisulakhe changed the title pausing phase to the sandbox lifecycle Pausing Phase for Sandbox Apr 15, 2026
@kruise-bot
Copy link
Copy Markdown

@rishisulakhe: PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants