microvm: find a restored actor's CH api-socket without ateom's record - #1136
Draft
Troy Chiu (troychiu) wants to merge 1 commit into
Draft
microvm: find a restored actor's CH api-socket without ateom's record#1136Troy Chiu (troychiu) wants to merge 1 commit into
Troy Chiu (troychiu) wants to merge 1 commit into
Conversation
This was referenced Aug 21, 2026
Troy Chiu (troychiu)
marked this pull request as draft
August 22, 2026 00:01
Troy Chiu (troychiu)
force-pushed
the
split/2-microvm-ch-socket
branch
from
August 22, 2026 00:52
290178e to
2272914
Compare
Troy Chiu (troychiu)
force-pushed
the
split/2-microvm-ch-socket
branch
from
August 22, 2026 00:59
2272914 to
bc96d2b
Compare
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.
Towards #372
When
ateomrestarts, it loses in-memory actor records and falls back to socket lookup on disk. Restored actors listen onclh-api-restore.sockrather thanclh-api.sock, causingterminateWorkloadto miss the VMM (leaving orphan guests running) andCheckpointWorkloadto time out.This change:
chSocketForto probe disk for whichever API socket exists when no in-memory record is present.kata.RestoredCLHSocketPathalongsidekata.CLHSocketPathfor consistent socket naming across launch, restore, and teardown.AI has assisted with this PR but I have verified all the changes.