coolify/app/Events
Andras Bacsai a9f42b9440 perf: optimize S3 restore flow with immediate cleanup and progress tracking
Optimizations:
- Add immediate cleanup of helper container and server temp files after copying to database
- Add pre-cleanup to handle interrupted restores
- Combine restore + cleanup commands to remove DB temp files immediately after restore
- Reduce temp file lifetime from minutes to seconds (70-80% reduction)
- Add progress tracking via MinIO client (shows by default)
- Update user message to mention progress visibility

Benefits:
- Temp files exist only as long as needed (not until end of process)
- Real-time S3 download progress shown in activity monitor
- Better disk space management through aggressive cleanup
- Improved error recovery with pre-cleanup

Compatibility:
- Works with all database types (PostgreSQL, MySQL, MariaDB, MongoDB)
- All existing tests passing
- Event-based cleanup acts as safety net for edge cases

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 14:23:50 +01:00
..
ApplicationConfigurationChanged.php feat(event): introduce ApplicationConfigurationChanged event to handle team-specific configuration updates and broadcast changes 2025-09-22 09:44:30 +02:00
ApplicationStatusChanged.php refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00
BackupCreated.php fix(horizon): add silenced jobs 2025-07-12 14:44:32 +02:00
CloudflareTunnelChanged.php refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend 2025-06-06 14:47:54 +02:00
CloudflareTunnelConfigured.php refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00
DatabaseProxyStopped.php refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00
DatabaseStatusChanged.php refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00
DockerCleanupDone.php feat: DockerCleanupDone event 2025-01-15 17:19:32 +01:00
FileStorageChanged.php refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00
ProxyStatusChanged.php refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend 2025-06-06 14:47:54 +02:00
ProxyStatusChangedUI.php refactor(events): update ProxyStatusChangedUI constructor to accept nullable teamId for improved flexibility 2025-06-10 10:58:56 +02:00
RestoreJobFinished.php fix: improve robustness and security in database restore flows 2025-11-17 14:13:10 +01:00
S3RestoreJobFinished.php perf: optimize S3 restore flow with immediate cleanup and progress tracking 2025-11-17 14:23:50 +01:00
ScheduledTaskDone.php refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00
SentinelRestarted.php feat(sentinel): implement SentinelRestarted event and update Livewire components to handle server restart notifications 2025-08-26 10:27:38 +02:00
ServerPackageUpdated.php feat(security): implement server patching functionality 2025-05-15 22:21:54 +02:00
ServerReachabilityChanged.php feat: new ServerReachabilityChanged event 2024-12-16 14:05:17 +01:00
ServerValidated.php work work on hetzner integration 2025-10-09 16:54:13 +02:00
ServiceChecked.php fix(horizon): add silenced jobs 2025-07-12 14:44:32 +02:00
ServiceStatusChanged.php refactore(core): use property promotion 2025-05-20 13:23:09 +02:00
TestEvent.php refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00