Andras Bacsai
158d54712f
Remove webhook maintenance mode replay feature
...
This feature stored incoming webhooks during maintenance mode and replayed them
when maintenance ended. The behavior adds unnecessary complexity without clear
value. Standard approach is to let webhooks fail during maintenance and let
senders retry.
Removes:
- Listener classes that handled maintenance mode events and webhook replay
- Maintenance mode checks from all webhook controllers (Github, Gitea, Gitlab, Bitbucket, Stripe)
- webhooks-during-maintenance filesystem disk configuration
- Feature mention from CHANGELOG
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 13:36:32 +01:00
Andras Bacsai
0b8d3d395e
fix: remove redundant process termination logic from deployment methods
2025-11-10 14:46: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
52312e9de6
refactor(github-webhook): restructure application processing by grouping applications by server for improved deployment handling
2025-09-10 09:30:43 +02:00
Andras Bacsai
8c5c249c6a
refactor(webhook): replace direct forceDelete calls with DeleteResourceJob dispatch for application previews
2025-09-05 19:27:59 +02:00
Andras Bacsai
a10e51b2c4
fix(webhook): replace delete with forceDelete for application previews to ensure immediate removal
2025-09-05 17:50:33 +02:00
Andras Bacsai
339118558c
feat(settings): add option to restrict PR deployments to repository members and contributors
2025-09-05 14:30:51 +02:00
Andras Bacsai
5bdf2e8481
refactor(previews): move preview domain generation logic to ApplicationPreview model for better encapsulation and consistency across webhook handlers
2025-07-14 19:12:57 +02:00
Andras Bacsai
d075241289
feat(Deployment): enhance queue_application_deployment to handle existing deployments and return appropriate status messages
2025-04-11 15:27:56 +02:00
Andras Bacsai
27e4882d57
feat(core): You can validate compose files with docker compose config
...
fix(core): labels are now accepted with both compose styles
refactor: remove lots of ray's
2025-02-27 11:29:04 +01:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8 .
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +01:00
peaklabs-dev
5f985426ab
feat: update private key nam with new slug as well
2024-12-03 15:27:20 +01:00
Lucas Michot
d557a22b91
Remove all ray() calls
2024-10-28 13:51:23 +01:00
andrasbacsai
96c4f5b8da
Fix styling
2024-07-25 11:31:59 +00:00
Andras Bacsai
6a4aa492c0
fix: random generated uuid will be full length (not 7 characters)
2024-07-25 13:31:01 +02:00
Andras Bacsai
a3a1ff69e1
fix: preview deployments should be stopped properly via gh webhook
2024-07-22 13:06:03 +02:00
andrasbacsai
2e01665340
Fix styling
2024-06-12 10:21:47 +00:00
Andras Bacsai
019cdd2b3a
fix: compose generator
2024-06-12 12:20:58 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
7f052163e3
fix: comment id should be string
...
fix: do not wait for GH response, stop preview before
2024-06-06 12:50:38 +02:00
Andras Bacsai
c3da3f11d9
fix: Update error message for invalid token to mention invalid signature
2024-05-23 11:30:08 +02:00
Andras Bacsai
1e09b2bbd8
fix: use commit hash on webhooks
2024-05-15 10:44:45 +02:00
Andras Bacsai
49b3a75a8b
Refactor manual webhook response payload
2024-04-03 14:14:06 +02:00
Andras Bacsai
f13fc737f1
Refactor manual webhook handling and add watch path check
2024-04-03 14:08:42 +02:00
Andras Bacsai
b7121c5000
Refactor deployment logic and add watch path check
2024-04-03 14:05:35 +02:00
Andras Bacsai
a198bfc5c0
Refactor deployment logic in Github webhook controller
2024-04-02 21:25:09 +02:00
Andras Bacsai
51d716253f
feat: watch paths
2024-03-28 15:05:12 +01:00
Andras Bacsai
54923b7640
feat: collect webhooks during maintenance
2024-03-01 14:04:29 +01:00