Files
PaperClipAI/packages
Harold Kim (Paperclip)andPaperclip d1ca30dd56 fix: guard environment delete custom image cancellation state
Add `active_runtime_use` to `EnvironmentDeleteBlockedReason` union so
the blast-radius response can report active runtime blockers as a typed
reason. Surface this in `getDeleteBlastRadius`: compute
`hasActiveRuntimeUse` once and push `"active_runtime_use"` into
`deleteBlockedReasons` when either active lease count or active custom
image setup session count is non-zero. Extract
`releaseActiveLeasesForEnvironment` service method so the route can
mark active leases released during a forced delete.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-09 05:55:38 +00:00
..