Skip to content

Snapshot never validates #2040

Open
Open
@Eddydpyl

Description

@Eddydpyl

Describe the bug
The command daytona snapshot push never completes. The snapshot is created, but as the command never completes, it breaks workflows. Here's my workflow:

docker buildx build --platform linux/amd64 -f Dockerfile.daytona -t ocean:0.0.1 .

daytona snapshot push ocean:0.0.1 --entrypoint "python -m uvicorn ocean.api:app --host 0.0.0.0 --port 8000" --name ocean:0.0.1 --cpu 1 --memory 2 --disk 3

Successfully pushed ocean:0.0.1 to Daytona
Waiting for the snapshot to be validated ...

Environment (required fields):

  • Deployment: Production
  • Daytona client: Daytona CLI v0.16.3

Temporary solution
Use a reasonable timeout, available by default in GitHub actions. The command will fail, but the snapshot is available.

timeout 600 daytona snapshot push ocean:0.0.1 --entrypoint "python -m uvicorn ocean.api:app --host 0.0.0.0 --port 8000" --name ocean:0.0.1 --cpu 1 --memory 2 --disk 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions