Open
Description
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