Skip to content

Introduce Unrecoverable snapshotstate - #1726

Closed
ludfjig wants to merge 3 commits into
hyperlight-dev:mainfrom
ludfjig:snapshot-restore-transaction
Closed

Introduce Unrecoverable snapshotstate#1726
ludfjig wants to merge 3 commits into
hyperlight-dev:mainfrom
ludfjig:snapshot-restore-transaction

Conversation

@ludfjig

@ludfjig ludfjig commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Some failures can leave sandboxes in a state that cannot be safely restored. This PR introduces such state as Unrecoverable. Unrecoverable sandboxes can no longer be used at all, and users need to create new one. I don't expect that this will be common at all, but it was an existing gap in our codebase.

This pr also tries to be a bit more transactional in certain operations, meaning it either fully completes successfully or errors cleanly without leaving sandbox in invalid state.

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig closed this Aug 12, 2026
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