1.0: Cancelled deployments may leave orphan Docker resources #89

Closed
opened 2026-02-19 22:39:50 +01:00 by clawbot · 0 comments
Collaborator

When a deployment is cancelled via HandleCancelDeploy, the build context cancel stops the goroutine, but intermediate Docker images and build cache from the cancelled build may be left behind.

Needed:

  • Clean up intermediate images from cancelled builds
  • Remove any cloned repo temp directories
  • Add logging to track cleanup success/failure

Over time, cancelled builds could accumulate significant disk usage.

When a deployment is cancelled via `HandleCancelDeploy`, the build context cancel stops the goroutine, but intermediate Docker images and build cache from the cancelled build may be left behind. **Needed:** - Clean up intermediate images from cancelled builds - Remove any cloned repo temp directories - Add logging to track cleanup success/failure Over time, cancelled builds could accumulate significant disk usage.
sneak added this to the 1.0 milestone 2026-02-19 22:43:13 +01:00
sneak closed this issue 2026-02-20 05:22:59 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/upaas#89
No description provided.