A sandbox lifetime is a workflow decision: using Never in Lizard
说明与用途
在 Lizard 中将沙箱生命周期设置为 "Never" 可防止在长时间构建和等待审核期间提前删除环境,但完成后仍需手动清理。
问题
Fixed sandbox expiry can delete a working environment before a task finishes, causing loss of progress when a build is running, an agent is waiting for review, or a laptop is closed.
结果
Setting sandbox lifetime to "Never" prevents unintended deletion during long-running or review-dependent tasks, while still requiring explicit cleanup to avoid unnecessary compute charges.
工作流
- 1. In the Lizard dashboard, select "Never" under "Delete Sandbox after" when creating a sandbox.
- 2. Or use the CLI:
lizard sandbox create --size small --timeout 0to create a sandbox that never expires. - 3. Run your development task (e.g., install dependencies, start a long build, wait for review).
- 4. If needed, pause the sandbox (if supported) to preserve memory and files while you are away.
- 5. When the task is finished, manually delete the sandbox or let the owner decide to clean it up.
证据
In the dashboard, choose Never under Delete Sandbox after when creating a sandbox. This disables scheduled expiry.
With the Lizard CLI, the corresponding creation flag is --timeout 0. For example: lizard sandbox create --size small --timeout 0
The current CLI default is a five-minute lifetime, not an indefinitely running workspace.
The update also describes pausing a supported sandbox and resuming it later with memory and files retained.
At the Small compute rate of $0.009 per hour, continuous execution for a 30-day month works out to: 30 days × 24 hours × $0.009 = $6.48
- 记录日期: 2026-10-06T16:41:06.953Z