Background
E2B Python SDK 2.25.0 exposes volume management through platform API calls. The SDK uses /volumes for create/list and /volumes/{volumeID} for get/delete.
sandbox-manager currently has no /volumes routes. POST /sandboxes also does not model the SDK's volume_mounts request field.
Issue Type
Feature request
Relevant Code
pkg/servers/e2b/routes.go does not register /volumes or /volumes/{volumeID} routes.
pkg/servers/e2b/models/sandbox.go defines NewSandboxRequest without a volumeMounts / volume_mounts field.
pkg/sandbox-manager/infra/sandboxcr/claim.go and pkg/sandbox-manager/infra/sandboxcr/clone.go contain CSI mount handling used by current extension-based mount behavior.
Notes
Related E2B-compatible surface includes:
GET /volumes
POST /volumes
GET /volumes/{volumeID}
DELETE /volumes/{volumeID}
- sandbox create volume mount request compatibility.
Background
E2B Python SDK 2.25.0 exposes volume management through platform API calls. The SDK uses
/volumesfor create/list and/volumes/{volumeID}for get/delete.sandbox-manager currently has no
/volumesroutes.POST /sandboxesalso does not model the SDK'svolume_mountsrequest field.Issue Type
Feature request
Relevant Code
pkg/servers/e2b/routes.godoes not register/volumesor/volumes/{volumeID}routes.pkg/servers/e2b/models/sandbox.godefinesNewSandboxRequestwithout avolumeMounts/volume_mountsfield.pkg/sandbox-manager/infra/sandboxcr/claim.goandpkg/sandbox-manager/infra/sandboxcr/clone.gocontain CSI mount handling used by current extension-based mount behavior.Notes
Related E2B-compatible surface includes:
GET /volumesPOST /volumesGET /volumes/{volumeID}DELETE /volumes/{volumeID}