Andras Bacsai
5d38147899
feat(api): Improve OpenAPI spec and add rate limit handling for Hetzner
...
- Add 429 response with Retry-After header for Hetzner server creation
- Create RateLimitException for proper rate limit error handling
- Rename cloud_provider_token_id to cloud_provider_token_uuid with deprecation
- Fix prices array schema in server-types endpoint with proper items definition
- Add explicit default: true to autogenerate_domain properties
- Add timeout and retry options to Docker install curl commands
- Fix race condition in deployment status update using atomic query
2025-12-11 12:12:43 +01:00
Andras Bacsai
a2e5b2d67d
Fix deployment marked as failed when healthy container completes rolling update
...
Prevent deployment status from regressing to FAILED after it's marked as FINISHED by:
1. Calling completeDeployment() first in post_deployment() before any operations that could fail
2. Wrapping all post-deployment side effects in try-catch blocks
3. Adding FINISHED to terminal states that cannot be changed
4. Protecting ExecuteRemoteCommand from overwriting FINISHED status
This fixes the issue where a deployment with a healthy container and successful rolling update was still marked as Failed in the UI.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 09:42:02 +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
Andras Bacsai
a03c1b3b4b
refactor(dashboard): remove deployment loading logic and introduce DeploymentsIndicator component for better UI management
2025-09-30 11:43:30 +02:00
Andras Bacsai
b83223ff6e
Merge branch 'next' into v4.x
2025-09-25 14:39:23 +02:00
Andras Bacsai
2eef83f072
fix(traits): update saved_outputs handling in ExecuteRemoteCommand to use collection methods for better performance
2025-09-25 13:19:05 +02:00
Ahmed A
671e72b466
Merge branch 'next' into v4.x
2025-09-20 13:50:03 +03:00
Andras Bacsai
3f48dcb575
feat(redaction): implement sensitive information redaction in logs and commands
Staging Build / amd64 (push) Has been cancelled
Staging Build / aarch64 (push) Has been cancelled
Staging Build / merge-manifest (push) Has been cancelled
2025-09-19 15:54:44 +02:00
Ahmed A
59f3220d26
Merge branch 'next' into v4.x
2025-09-18 16:01:15 +03:00
Andras Bacsai
9e8fb36bc8
feat(deployment): implement cancellation checks during deployment process to enhance user control and prevent unnecessary execution
Staging Build / amd64 (push) Has been cancelled
Staging Build / aarch64 (push) Has been cancelled
Staging Build / merge-manifest (push) Has been cancelled
2025-09-16 13:40:51 +02:00
Ahmed A
4d52a26ac6
fix rebase
2025-09-13 17:04:22 +03:00
Ahmed A
5eacb01beb
Merge branch 'v4.x' of https://github.com/ahmadw13/coolify into v4.x
2025-09-13 17:01:39 +03:00
Ahmed A
b3d8b99959
Adding support for using config values for process
2025-09-13 17:00:17 +03:00
Ahmed A
c2d6cd1445
spacing fix
2025-09-09 17:28:58 +03:00
Ahmed A
a4e13f56c0
Adding support for using config values for process
2025-09-09 17:25:55 +03:00
Andras Bacsai
45c75ad9c1
feat(ssh): add Sentry tracking for SSH retry events to enhance error monitoring
2025-09-07 18:57:20 +02:00
Andras Bacsai
4bd29bf966
refactor(ssh): enhance error handling in SSH command execution and improve connection validation logging
2025-09-07 18:45:44 +02:00
Andras Bacsai
579cc25898
fix(ssh): introduce SshRetryHandler and SshRetryable trait for enhanced SSH command retry logic with exponential backoff and error handling
2025-09-07 17:17:35 +02:00
Andras Bacsai
b847740924
refactor(command): simplify SSH command retry logic by removing unnecessary logging and improving delay calculation
2025-09-07 16:38:11 +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
8e8400f595
feat(utf8-handling): implement UTF-8 sanitization for command outputs and enhance error handling in logs processing
2025-06-05 14:27:39 +02:00
Andras Bacsai
b570ccd7d3
format
2024-09-23 19:51:31 +02:00
peaklabs-dev
144508218e
Fix: SSH multiplexing
2024-09-17 12:26:11 +02:00
Andras Bacsai
2c92cc40e1
refactor: Update code to use str() instead of Str::of() for string manipulation
2024-06-25 10:37:10 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
63758c6679
Remove debug statement in ExecuteRemoteCommand trait
2024-04-16 21:30:28 +02:00
Andras Bacsai
58523b0000
Refactor code to add sudo prefix for certain commands
2024-04-16 21:22:57 +02:00
Andras Bacsai
af3c575d84
fix: server disabled
2024-02-26 14:22:24 +01:00
Andras Bacsai
678647f39a
fix: force enable/disable server in case ultimate package quantity decreases
2024-02-26 10:25:21 +01:00
Andras Bacsai
1b6546d26c
fix: nixpacks envs
...
fix: append logs
2024-01-11 12:56:02 +01:00
Andras Bacsai
b9f820cef4
fix: save cmd output propely (merge)
2024-01-11 12:33:28 +01:00
Andras Bacsai
8d86d53292
fix: new logging for deployment jobs
...
fix: git based docker compose files
2023-11-27 11:54:55 +01:00
Andras Bacsai
f96a91eb31
wip: compose based apps
2023-11-24 15:48:23 +01:00
Andras Bacsai
ce26127705
wip: new deployment jobs
2023-11-21 22:17:35 +01:00
Andras Bacsai
f88e3c5b29
feat: push locally built image to docker registry
...
ui: fixes here and there
2023-11-20 13:49:10 +01:00
Andras Bacsai
6b75ff7de4
wip: services
2023-09-21 17:48:31 +02:00
Andras Bacsai
da4c2ee60f
fix: boarding
...
fix: error handling
fix: restarting state
2023-09-15 15:34:25 +02:00
Andras Bacsai
54a57d217f
fix: ssh-agent revert
2023-09-15 12:30:25 +02:00
Andras Bacsai
17c0e91a0d
feat: ssh-agent instead of filesystem based ssh keys
2023-09-14 10:12:58 +02:00
Andras Bacsai
5ca0237e34
fix logging on ui
2023-08-27 22:05:37 +02:00
Andras Bacsai
f2228cec7b
testing php storm code cleanup and styling
2023-08-08 11:51:36 +02:00
Andras Bacsai
b10ce8ea2d
wip
2023-06-30 21:22:14 +02:00