Commit Graph
14034 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
Rohit Tiwari 6efa1444df fixes default template of Redis Insight
this PR refers the issue generated that , caused by untested template issue no : #7166

Redis Insight is inaccessible when installed with default configuration until manually change the test url
2025-11-10 15:25:33 +05:30
Andras Bacsai 919fc184b7 fix(docker): improve pull request ID check in container status function 2025-11-09 20:35:03 +01:00
Julien Nahum c960b71076 Update opnform.yaml to use version 1.10.2 for API and UI images, remove SELF_HOSTED environment variable, and adjust environment variable syntax for consistency 2025-11-09 16:05:04 +01:00
Andras Bacsai 67605d50fc fix(deployment): prevent base deployments from being killed when PRs close (#7113)
- Fix container filtering to properly distinguish base deployments (pullRequestId=0) from PR deployments
- Add deployment cancellation when PR closes via webhook to prevent race conditions
- Prevent CleanupHelperContainersJob from killing active deployment containers
- Enhance error messages with exit codes and actual errors instead of vague "Oops" messages
- Protect status transitions in finally blocks to ensure proper job failure handling
2025-11-09 14:41:35 +01:00
daren 881c8f991b Merge branch 'next' into fix-codimd-docker-compose 2025-11-09 15:01:57 +07:00
Andras Bacsai 649dd023cb feat(service): Add postgresus service template. (#7055) 2025-11-08 16:16:26 +01:00
Andras Bacsai f382e95d9b Merge branch 'next' into v4.x 2025-11-08 16:15:57 +01:00
Andras Bacsai ed51785fb9 Enhance Docker Compose handling and improve error management (#7148) 2025-11-08 16:14:15 +01:00
majcek210 6effccd1fb Merge branch 'next' into ts-template 2025-11-08 15:47:45 +01:00
itssloplayz e53ea04476 Removed the old file that was left in on accident 2025-11-08 12:03:54 +01:00
itssloplayz 152801e293 Added tailscale template 2025-11-08 11:59:26 +01:00
Andras Bacsai 712d60c75b feat: ensure .env file exists for docker compose and auto-inject in payloads 2025-11-07 15:20:10 +01:00
Andras Bacsai d3eba6c1b7 Merge branch 'next' into issue-7127 2025-11-07 14:44:38 +01:00
Andras Bacsai 775216e7a5 jean jean 2025-11-07 14:33:32 +01:00
Andras Bacsai 7fd1d799b4 refactor: rename onWorktreeCreate script to setup in jean.json 2025-11-07 14:33:32 +01:00
Andras Bacsai 8660d1d8fe Merge branch 'next' into issue-7127 2025-11-07 14:14:51 +01:00
Andras Bacsai e86575d6f7 fix: guard against null or empty docker compose in saveComposeConfigs method 2025-11-07 14:14:43 +01:00
Andras Bacsai a71638581e chore(deps-dev): bump tar from 7.5.1 to 7.5.2 (#7134) 2025-11-07 14:13:00 +01:00
Andras Bacsai 75a10df394 Add/Fix categories/tags (#7147) 2025-11-07 14:11:56 +01:00
Andras Bacsai 049affe216 refactor: rename onWorktreeCreate script to setup in jean.json 2025-11-07 14:04:09 +01:00
Andras Bacsai 468d5fe7d7 refactor: improve docker compose validation and transaction handling in StackForm 2025-11-07 14:03:19 +01:00
hareland 07ce375ac5 Embystat: change category from 'media' to 'analytics' 2025-11-07 13:50:19 +01:00
hareland b08ea4402a Embystat: change category from 'media' to 'analytics' 2025-11-07 13:46:12 +01:00
hareland 183c70e3c8 **Update rybbit.yaml schema: add category field and adjust tags formatting** 2025-11-07 13:29:49 +01:00
ajay e3c3962d07 fix: updated postgres 2025-11-07 17:08:01 +05:30
ajay c93c238be2 fix: secure deploy 2025-11-07 17:06:39 +05:30
ajay 87a97468c2 fix: secure deploy 2025-11-07 17:03:00 +05:30
ajay 1cd98f7b5a fix: secure deploy 2025-11-07 17:02:09 +05:30
ajay 40eb399b36 fix: updated envs 2025-11-07 16:54:31 +05:30
ajay 50accfeb2a fix: updated passout key 2025-11-07 16:45:16 +05:30
Aj7Ay b0a17b9ba9 Merge pull request #1 from Aj7Ay/fix/documenso-signing-status-issue-1767
Fix/documenso signing status issue 1767
2025-11-07 15:11:17 +05:30
ajay 08eb6ff981 Fix(Documenso): Resolve pending status issue for Documenso deployments (fixes #1767) 2025-11-07 15:10:04 +05:30
ajay 69b8abde63 Fix(Documenso): Resolve pending status issue for Documenso deployments (fixes #1767) 2025-11-07 15:01:48 +05:30
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 3801be2fd4 ci(workflows): refactor build-push jobs to use matrix strategy for multi-architecture support 2025-11-07 08:19:51 +01:00
ShadowArcanist 501a67ac40 Merge branch 'next' into shadow/fix-docker-time-command 2025-11-06 20:17:10 +05:30
peaklabs-dev 560c98e280 ci(workflow): fix changelog generation 2025-11-06 15:11:13 +01:00
dependabot[bot] ffa4123a72 chore(deps-dev): bump tar from 7.5.1 to 7.5.2
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.1...v7.5.2)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 14:06:03 +00:00
Andras Bacsai 7bbfa094d0 v4.0.0-beta.442 (#7130) 2025-11-06 15:04:56 +01:00
Andras Bacsai f005602147 fix: remove Gozunga from the list of sponsors in README 2025-11-06 15:00:24 +01:00
Andras Bacsai 4e734492e0 fix: escape shell arguments in syncBunny command execution 2025-11-06 14:57:53 +01:00
🏔️ Peak 7ebb41a97c ci(workflows): improve security of all workflows & update action (#7133) 2025-11-06 14:56:09 +01:00
peaklabs-dev 6557514954 ci(workflows): improve security and update actions
- set top-level explicit permissions for each GitHub Actions workflow for improved security and deduplication of permissions.
- add `persist-credentials: false` to actions/checkout for improved security - see https://github.com/actions/checkout#checkout-v4
- update actions/checkout from v4 to v5
2025-11-06 14:40:54 +01:00
peaklabs-dev 2d64cdad7c ci(claude): remove unused workflows 2025-11-06 14:36:59 +01:00
Andras Bacsaiandcoderabbitai[bot] 24bcce3f9b Update app/Console/Commands/SyncBunny.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-06 14:36:34 +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 bcd225bd22 feat: Implement required port validation for service applications
- Added `requiredPort` property to `ServiceApplicationView` to track the required port for services.
- Introduced modal confirmation for removing required ports, including methods to confirm or cancel the action.
- Enhanced `Service` model with `getRequiredPort` and `requiresPort` methods to retrieve port information from service templates.
- Implemented `extractPortFromUrl` method in `ServiceApplication` to extract port from FQDN URLs.
- Updated frontend views to display warnings when required ports are missing from domains.
- Created unit tests for service port validation and extraction logic, ensuring correct behavior for various scenarios.
- Added feature tests for Livewire component handling of domain submissions with required ports.
2025-11-06 14:32:36 +01:00
🏔️ Peak e21b1e40bc Merge branch 'v4.x' into next 2025-11-06 14:00:30 +01:00
Andras Bacsai 21835e4608 chore: update Nixpacks version to 1.41.0 (#7061) 2025-11-06 12:42:57 +01:00