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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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:
Over time, cancelled builds could accumulate significant disk usage.