Skip to content

ateom-microvm: tear down the guest when checkpoint fails after pause - #1159

Open
Mesut Oezdil (mesutoezdil) wants to merge 1 commit into
agent-substrate:mainfrom
mesutoezdil:fix/checkpoint-teardown-on-failure
Open

ateom-microvm: tear down the guest when checkpoint fails after pause#1159
Mesut Oezdil (mesutoezdil) wants to merge 1 commit into
agent-substrate:mainfrom
mesutoezdil:fix/checkpoint-teardown-on-failure

Conversation

@mesutoezdil

Copy link
Copy Markdown
Contributor

Once the guest is paused in CheckpointWorkload, any later failure (checkpoint dir setup, the concurrent snapshot/tar capture, listing snapshot files) returned early without tearing the guest down. The guest stayed paused with nothing watching it and s.running still pointed at it, leaving the actor stuck until a manual node restart. This tears the guest down on any failure after pause, the same way the success path already does.

@mesutoezdil
Mesut Oezdil (mesutoezdil) force-pushed the fix/checkpoint-teardown-on-failure branch from 8c5a8c5 to 3105334 Compare August 26, 2026 07:13
Once client.Pause succeeds, every later failure (checkpoint dir setup,
the concurrent snapshot/tar capture, listing snapshot files) returned
early without tearing the guest down. The guest was left paused with
nothing watching it and s.running still pointed at it, so it stayed
stuck until a manual node restart.
@mesutoezdil
Mesut Oezdil (mesutoezdil) force-pushed the fix/checkpoint-teardown-on-failure branch from 3105334 to 71f60bb Compare August 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant