-
Notifications
You must be signed in to change notification settings - Fork 102
Description
-
Add
publicfield -- Daytona sandboxes support apublicboolean that makes preview URLs accessible without authentication tokens. Currently the component doesn't expose this, so all sandboxes are private by default and preview URLs require anx-daytona-preview-tokenheader. For use cases where the URL is shared (e.g. posted in a GitHub comment), public access is essential. -
Return preview URL in output -- The component currently only returns
data.idanddata.state. It should also return the preview URL base (e.g.data.previewUrlordata.proxyDomain) so downstream nodes can construct clickable links without hardcodingproxy.daytona.works. The proxy domain is available from the Daytona/api/configendpoint (proxyTemplateUrlfield). -
Poll until sandbox is ready (
state: started) -- TheCreateSandboxAPI returns immediately withstate: creating. When using custom snapshots (especially large ones), the sandbox can take 30-60+ seconds to reachstarted. The component should pollGET /sandbox/{id}until the state isstarted(orerror/stopped) before emitting the output. Without this, downstreamexecuteCommandnodes fire against a sandbox that isn't ready, causingcontext deadline exceededon the toolbox proxy. Suggested implementation: addGetSandbox(id)to the client, thenCreateSandboxAndWait()that polls every 3s with a 5-minute timeout. -
Add
labelsfield -- The Daytona API supports labels on sandbox creation (map[string]string). This would be useful for tracking which canvas/execution/PR created the sandbox, enabling cleanup automation. -
Add
resourcesfield -- Allow overriding CPU/memory/disk at creation time instead of relying solely on snapshot defaults. This would let a single snapshot be reused across different resource tiers.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status