Add CleanupOrphanedPreviewContainersJob that runs daily to find and remove any PR preview containers that weren't properly cleaned up when their PR was closed. The job: - Scans all functional servers for containers with coolify.pullRequestId label - Checks if the corresponding ApplicationPreview record exists in the database - Removes containers where the preview record no longer exists (truly orphaned) - Acts as a safety net for webhook failures or race conditions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Commands | ||
| Kernel.php | ||