-
Notifications
You must be signed in to change notification settings - Fork 11
init event lib #440
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
init event lib #440
Conversation
|
Warning Rate limit exceeded@jsbroks has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 19 minutes and 8 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (15)
WalkthroughThis pull request updates the event worker configuration to use the events package instead of the secrets package by modifying the Dockerfile and adding a dependency. It refactors the worker initialization in the event worker source to use a consolidated array of workers and introduces new worker files to handle new deployment events. Additionally, a new events package is added with its own configuration, build, linting, TypeScript, and Redis setup files. Finally, an extra event channel for repository releases is added to the validators package. Changes
Sequence Diagram(s)sequenceDiagram
participant D as Deployment Event
participant NDW as NewDeploymentWorker
participant GDR as getDeploymentResources
participant DB as Database
participant Q as Evaluated Queue
D->>NDW: Trigger new deployment job
NDW->>GDR: Invoke getDeploymentResources(tx, deployment)
GDR->>DB: Query system and environments
DB-->>GDR: Return system details and environments
GDR-->>NDW: Return list of resources
NDW->>Q: Enqueue job data for processing
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Summary by CodeRabbit
New Features
Documentation
Chores