Conversation
pranshul gupta (itzPranshul)
force-pushed
the
worker-checkpoint-classification
branch
2 times, most recently
from
November 29, 2026 04:48
f107792 to
4fd3ce9
Compare
Signed-off-by: pranshul gupta <pranshulg01@gmail.com>
pranshul gupta (itzPranshul)
force-pushed
the
worker-checkpoint-classification
branch
from
November 30, 2026 18:05
4fd3ce9 to
26dd810
Compare
Contributor
Author
|
Aditya Shantanu (@aditya-shantanu) you own the TODO this PR addresses, PTAL when you get a chance. Thanks! |
Contributor
|
Hi pranshul gupta (@itzPranshul), #3359 changes the same checkpoint path (checking the VMM before deactivating the tunnel and returning Unavailable). Haowei Cai (Roy) (@roycaihw) suggested landing #3359 first since it's smaller, and rebasing this on top. I'm addressing review comments on #3359 now and hope to get it in before the Dec 5 cutoff. Does that work for you? |
This branch has not been deployed
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.
Resolves TODO(#3046)
Part of #3046
ateletalready forwards a worker'sUnavailableonCheckpointWorkload(#3123) soateapiretries instead of crashing the actor, butateworker-microvmstill returnedInternalwhenWaitReadyorPausehit a transient socket/transport stall on a live VM. Both workers also deactivated the actor's tunnel before validating the requested fidelity.What changed
ateworker-microvm:client.WaitReadybeforetunnel.Deactivate, so pre-flight failures leave actor networking untouched.UnavailableforWaitReadyandPausetransport/readiness failures when the caller context is active and the tracked Cloud Hypervisor process is still alive (vmAlive).Internalif the VM is untracked/exited or if CH rejects the request with a non-2xx HTTP status (*ch.StatusError), so dead VMs or VMM-level rejections don't retry forever. Preservectx.Err()on caller cancellation/timeout.ateworker-gvisor:VOLUMESfidelity beforetunnel.DeactivateandcheckpointDircleanup, returningFailedPreconditionwhen there are no durable-dir volumes. (runsc checkpointstaysInternalsince it is a single invocation that may stop the sandbox.)atelet: Remove the resolvedTODO(#3046).PauseHTTP vs. transport errors.AI use: AI-assisted; I reviewed and tested the changes.