Description
When a box is in an idle state, calling snapshot operations fails. Snapshots should work regardless of whether the box is currently active or idle.
Steps to reproduce
- Create a box and set it up with files/dependencies
- Wait for the box to become idle (or let it idle naturally)
- Attempt to take a snapshot of the idle box
Expected behavior
Snapshot should succeed even when the box is idle — the box state should be capturable at any time.
Actual behavior
Snapshot operation fails on idle boxes.
Context
We run long-lived boxes (@upstash/box SDK) that go idle between scheduled agent runs. We need to snapshot them for backup/restore purposes, but can only do so while they're actively running.
Description
When a box is in an idle state, calling snapshot operations fails. Snapshots should work regardless of whether the box is currently active or idle.
Steps to reproduce
Expected behavior
Snapshot should succeed even when the box is idle — the box state should be capturable at any time.
Actual behavior
Snapshot operation fails on idle boxes.
Context
We run long-lived boxes (
@upstash/boxSDK) that go idle between scheduled agent runs. We need to snapshot them for backup/restore purposes, but can only do so while they're actively running.