You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: document snapshot prune + auto-prune env and pool --metrics-addr (#137)
Per CLAUDE.md (docs reflect completed features): the operability batch added
'snapshot prune --keep/--max-bytes' + A3S_BOX_MAX_SNAPSHOTS/_BYTES auto-prune
(bound snapshot disk) and 'pool start --metrics-addr' (Prometheus /metrics for
the warm-pool daemon). README's snapshots + warm-pool sections now show them.
Co-authored-by: Roy Lin <roylin@a3s.box>
The `snapshot` command produces configuration/filesystem-oriented Box snapshots, not a live RAM checkpoint. The live RAM Copy-on-Write facility is a separate, lower-level mechanism described in [Warm pool and snapshot-fork](#warm-pool-and-snapshot-fork).
216
217
218
+
Each snapshot deep-copies the box rootfs, so a scheduled snapshot workflow can fill the disk. `snapshot prune --keep N` / `--max-bytes B` evicts the oldest beyond a cap; set `A3S_BOX_MAX_SNAPSHOTS` / `A3S_BOX_MAX_SNAPSHOT_BYTES` to auto-prune on every `snapshot create` (unset = unbounded).
219
+
217
220
## Warm pool and snapshot-fork
218
221
219
222
A **warm pool** keeps a set of sandboxes pre-booted and serves them over a Unix
0 commit comments