Repository navigation
Conversation
Wait for the active lifecycle operation and revalidate delayed bootstrap observations against current driver state. Preserve a completed stop when the read is unavailable or invalid, while retaining progress from an accepted start. Signed-off-by: Shiju <shiju@nvidia.com>
|
Label |
This was referenced Nov 3, 2026
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.
Summary
A driver bootstrap event can be queued while
sandbox stopis still running, then arrive after the sandbox reaches Stopped. The gateway now waits for that stop and checks current driver state before applying the event, so an older observation cannot make the sandbox appear to start again.Related Issue
Part of #5195. Complements #5196, which corrects the Kubernetes driver's stopped-pod snapshot. This change handles delayed observations at the gateway for every backend. #5195 tracks both layers; this PR covers the gateway behavior.
Changes
Release Notes
A completed stop stays visible as Stopped when an older driver event arrives late. A later start still reports its current progress.
Testing
Checklist