Commit Graph

755 Commits

Author SHA1 Message Date
Andras Bacsai b22e79caec feat(jobs): improve scheduled tasks with retry logic and queue cleanup
- Add retry configuration to CoolifyTask (3 tries, 600s timeout)
- Add retry configuration to ScheduledTaskJob (3 tries, configurable timeout)
- Add retry configuration to DatabaseBackupJob (2 tries)
- Implement exponential backoff for all jobs (30s, 60s, 120s intervals)
- Add failed() handlers with comprehensive error logging to scheduled-errors channel
- Add execution tracking: started_at, retry_count, duration (decimal), error_details
- Add configurable timeout field to scheduled tasks (60-3600s, default 300s)
- Update UI to include timeout configuration in task creation/editing forms
- Increase ScheduledJobManager lock expiration from 60s to 90s for high-load environments
- Implement safe queue cleanup with restart vs runtime modes
  - Restart mode: aggressive cleanup (marks all processing jobs as failed)
  - Runtime mode: conservative cleanup (only marks jobs >12h as failed, skips deployments)
- Add cleanup:redis --restart flag for system startup
- Integrate cleanup into Dev.php init() for development environment
- Increase scheduled-errors log retention from 7 to 14 days
- Create comprehensive test suite (unit and feature tests)
- Add TESTING_GUIDE.md with manual testing instructions

Fixes issues with jobs failing after single attempt and "attempted too many times" errors
2025-11-10 11:11:18 +01:00
Andras Bacsai 73985350ec fix: update version numbers to 4.0.0-beta.443 and 4.0.0-beta.444 2025-11-07 08:26:58 +01:00
Andras Bacsai 2768805996 fix: update helper_version to 1.0.12 in constants configuration 2025-11-06 14:33:42 +01:00
Andras Bacsai fed01ab1a2 fix: update releases URL to use correct domain
The releases URL in the configuration was updated to use the correct domain 'coolify.io' instead of 'coollabs.io'. This change ensures that the application points to the right resource for fetching release information, which is crucial for maintaining accurate and up-to-date deployment processes.
2025-11-05 14:31:53 +01:00
Andras Bacsai ac2a199c7b chore: update coolify version to 4.0.0-beta.442
This update increments the version of coolify to 4.0.0-beta.442 to reflect the latest changes and improvements. Additionally, the nightly version has been updated to 4.0.0-beta.443 to ensure consistency across the project. Keeping version numbers up to date is essential for tracking releases and ensuring that users are aware of the latest features and fixes.
2025-11-05 14:31:09 +01:00
Andras Bacsai a89413bdbe fix: update version numbers to 4.0.0-beta.441 and 4.0.0-beta.442 2025-11-04 13:48:31 +01:00
Andras Bacsai 7520d6ca97 feat: Update version numbers to 4.0.0-beta.440 and 4.0.0-beta.441 2025-11-04 09:24:37 +01:00
Andras Bacsai 6fc5b01edc chore: update version numbers to 4.0.0-beta.439 and 4.0.0-beta.440 2025-10-29 20:38:48 +01:00
Andras Bacsai a474dcb3b0 version++ 2025-10-21 20:40:32 +02:00
Andras Bacsai 3593d941af bump version to 4.0.0-beta.437 and update nightly version to 4.0.0-beta.438 2025-10-20 13:57:48 +02:00
Andras Bacsai 837a0f4545 Merge branch 'next' into andrasbacsai/livewire-model-binding
Resolved merge conflicts between Livewire model binding refactoring and UI/CSS updates from next branch. Key integrations:

- Preserved unique HTML ID generation for form components
- Maintained wire:model bindings using $modelBinding
- Integrated new wire:dirty.class styles (border-l-warning pattern)
- Kept both syncData(true) and validateDockerComposeForInjection in StackForm
- Merged security tests and helper improvements from next

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 11:05:29 +02:00
Andras Bacsai 733c20fc9d fix: update version numbers to 4.0.0-beta.436 and 4.0.0-beta.437 2025-10-16 10:14:20 +02:00
Andras Bacsai 53b605c4b2 Disable legacy_model_binding flag in Livewire config
All components have been migrated from legacy model binding to explicit
public properties with syncData() pattern. Safe to disable the flag.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 15:44:23 +02:00
Andras Bacsai 50383c7a35 chore(versions): update Coolify version numbers to 4.0.0-beta.435 and 4.0.0-beta.436
- Incremented the stable version in constants.php and versions.json to 4.0.0-beta.435.
- Updated the nightly version in versions.json and other/nightly/versions.json to 4.0.0-beta.436.
- Ensured consistency across versioning files for the latest release.
2025-10-03 10:28:29 +02:00
Andras Bacsai da6c7ed7d5 chore(versions): bump Coolify stable version to 4.0.0-beta.434
- Updated the stable version number in constants.php to reflect the latest release.
- Ensured consistency with the previous versioning scheme.
2025-10-02 08:49:35 +02:00
Andras Bacsai 33aa32d1e6 chore(versions): update coolify version to 4.0.0-beta.433 and nightly version to 4.0.0-beta.434 in configuration files 2025-09-29 14:04:14 +02:00
Andras Bacsai 73b42f318a fix(constants): reduce command timeout from 7200 to 3600 seconds for improved performance 2025-09-25 14:41:05 +02:00
Andras Bacsai 8f44ade488 chore(versions): update coolify version numbers to 4.0.0-beta.432 and 4.0.0-beta.433 in configuration files 2025-09-25 09:27:29 +02:00
Andras Bacsai 0a6b2a0586 chore(versions): increment coolify version numbers to 4.0.0-beta.431 and 4.0.0-beta.432 in configuration files 2025-09-24 20:08:51 +02:00
Andras Bacsai 02115e2cff chore(versions): update coolify version numbers to 4.0.0-beta.430 and 4.0.0-beta.431 in configuration files 2025-09-24 09:20:12 +02:00
Andras Bacsai 027aa0ffff chore(versions): bump coolify version to 4.0.0-beta.429 and nightly version to 4.0.0-beta.430 2025-09-18 13:45:29 +02:00
peaklabs-dev e23c78fcda chore(deps): bump helper version 2025-09-15 15:48:10 +02:00
Andras Bacsai e84da21def chore(versions): increment coolify version to 4.0.0-beta.428 and update realtime_version to 1.0.10 2025-09-15 15:40:24 +02:00
Andras Bacsai 6d56b83e27 chore(constants): update realtime_version from 1.0.10 to 1.0.11 2025-09-15 12:50:34 +02:00
Andras Bacsai b433f17dac feat(ssh-multiplexing): enhance multiplexed connection management with health checks and metadata caching 2025-09-10 08:19:38 +02:00
Andras Bacsai b6176d905b feat(command): implement SSH command retry logic with exponential backoff and logging for better error handling 2025-09-07 10:26:23 +02:00
Andras Bacsai d2ed68e605 refactor(jobs): pull github changelogs from cdn instead of github 2025-09-01 16:13:55 +02:00
Andras Bacsai 88d33d177e chore: update coolify version to 4.0.0-beta.427 and nightly version to 4.0.0-beta.428 2025-08-31 11:20:48 +02:00
Andras Bacsai 135ed98a86 chore: update coolify version to 4.0.0-beta.426 and nightly version to 4.0.0-beta.427 2025-08-28 13:31:10 +02:00
Andras Bacsai c156d5c705 chore: update coolify version to 4.0.0-beta.425 and nightly version to 4.0.0-beta.426 2025-08-28 09:50:16 +02:00
Andras Bacsai 4024d7f59b chore: update coolify version to 4.0.0-beta.424 and nightly version to 4.0.0-beta.425 2025-08-27 18:42:22 +02:00
Andras Bacsai 6249263f51 chore: update coolify version to 4.0.0-beta.423 and nightly version to 4.0.0-beta.424 2025-08-27 17:24:22 +02:00
peaklabs-dev 8d1c75ebff chore: update version 2025-08-27 15:18:22 +02:00
Andras Bacsai e41730a209 chore(versions): update coolify version to 4.0.0-beta.421 and nightly version to 4.0.0-beta.422 2025-08-26 19:23:23 +02:00
peaklabs-dev 6b54432f9c chore(core): update version 2025-08-26 18:44:09 +02:00
peaklabs-dev 6ad05d3625 Update constants.php 2025-08-26 18:20:41 +02:00
peaklabs-dev 2099d88f08 chore(core): update version 2025-08-26 18:09:08 +02:00
Andras Bacsai c1e0548a78 chore(versions): update coolify version to 4.0.0-beta.420.8 and nightly version to 4.0.0-beta.420.9 in versions.json and constants.php 2025-08-26 16:19:46 +02:00
Andras Bacsai ee502b9f76 feat(email): implement email change request and verification process
- Added functionality for users to request an email change, including generating a verification code and setting an expiration time.
- Implemented methods in the User model to handle email change requests, code validation, and confirmation.
- Created a new job to update the user's email in Stripe after confirmation.
- Introduced rate limiting for email change requests and verification attempts to prevent abuse.
- Added a new notification for email change verification.
- Updated the profile component to manage email change requests and verification UI.
2025-08-18 14:54:08 +02:00
Andras Bacsai b237035051 fix(constants): update official service template URL to point to the v4.x branch for accuracy 2025-08-13 18:51:15 +02:00
Andras Bacsai 39f25573bf refactor(templates): update service template file handling to use dynamic file name from constants 2025-08-12 10:06:19 +02:00
Andras Bacsai c3a100730c fix(constants): update coolify version to 4.0.0-beta.420.7 2025-08-12 10:06:19 +02:00
Andras Bacsai cbd2c88cb4 fix(constants): update 'Change Log' to 'Changelog' in settings dropdown 2025-08-12 10:06:19 +02:00
Andras Bacsai 0e7cc988a6 feat(user): add changelog read tracking and unread count method 2025-08-12 10:06:19 +02:00
🏔️ Peak d736b3e8b7 feat(queues): improve Horizon config to reduce CPU and RAM usage (#6212) 2025-07-18 19:17:28 +02:00
peaklabs-dev 5fd8fec172 chore(versions): update all version 2025-07-18 18:57:43 +02:00
Andras Bacsai 80fae306e6 feat(scheduling): introduce ScheduledJobManager and ServerResourceManager for enhanced job scheduling and resource management 2025-07-12 14:44:44 +02:00
Andras Bacsai b08c6b5b33 fix(horizon): update queue configuration to use environment variable for dynamic queue management 2025-07-12 14:04:01 +02:00
Andras Bacsai e672011312 fix(versions): update coolify version numbers in versions.json and constants.php to 4.0.0-beta.420.6 and 4.0.0-beta.420.7 2025-07-11 15:11:00 +02:00
Andras Bacsai 36fe235bea feat(logging): implement scheduled logs command and enhance backup/task scheduling with cron checks 2025-07-11 15:10:55 +02:00