mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 03:15:01 +00:00
- snapshot-refs.ts: one check for what live things still boot from (goldens of any live status, pool images, active environment builds, live workspaces' own snapshots, and a live workspace's boot image until it has a snapshot of its own). - Retired goldens beyond the rollback and deleted environments' builds are marked deleted only after the provider delete succeeded (a failed delete used to be marked and leaked for good), and are deferred while in use. A new hourly housekeeping step (sweepReleasedSnapshots) retries both. - Team delete marks the team's environments deleted, so their build snapshots are freed (they leaked). - Environment prune skips a build a live workspace still boots from. - Orphan sweeps (per box and project-wide automatic) also respect pool and boot-image references. - The golden smoke box is non-persistent: it no longer leaves a ~325 MB automatic snapshot behind.