Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: split webhook accepting and queue dispatching logic #4160

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

npalm
Copy link
Member

@npalm npalm commented Oct 2, 2024

Description

This PR refacting the webhook lambda. It splits the webhook logic in a part responsible to accept the event and a part to dispatch to the runner queues. Secondly it refactor and removes duplicate logic in tests.

This change should allow to split the lambda in two lambda and and use the AWS EventBridge to accept events, and use the dispacher only for delegating an event to a runner queueu.

@npalm npalm requested a review from stuartp44 October 2, 2024 19:20
@npalm npalm merged commit f9c8232 into main Oct 4, 2024
5 checks passed
@npalm npalm deleted the npalm/webhook-refactor branch October 4, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants