Skip to content

api: preserve paused sandbox mounts and aliases - #3752

Open
aikins01 wants to merge 1 commit into
e2b-dev:mainfrom
aikins01:api/paused-sandbox-metadata
Open

aikins01 wants to merge 1 commit into
e2b-dev:mainfrom
aikins01:api/paused-sandbox-metadata

Conversation

@aikins01

Copy link
Copy Markdown

Paused sandbox details omit volume mounts even when the snapshot contains them. This returns the stored mounts using the same conversion as the list endpoint and omits alias when the snapshot has no aliases, rather than returning an empty string.

Snapshots with a config but no mounts return []; legacy snapshots without a config continue to omit volumeMounts. The regression test reproduced the missing mounts and empty alias before the fix and now passes with race detection. It covers the cached-snapshot handler path, not a live VM pause/resume.

Fixes #3575.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(api): GetSandboxesSandboxID omits VolumeMounts and sets empty string Alias for paused sandboxes

1 participant