-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] Move process label to a global context #484
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
base: master
Are you sure you want to change the base?
Conversation
|
Warning Rate limit exceeded@alexeyr-ci has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 1 minutes and 36 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 selected for processing (11)
WalkthroughThe changes in this pull request focus on enhancing the documentation and implementation of error reporting and tracing for Sentry and Bugsnag integrations within the Node renderer. Key updates include the introduction of a Changes
Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 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
CodeRabbit Configuration File (
|
afc9469 to
b0159a1
Compare
| }; | ||
|
|
||
| export async function unlock(lockfileName: string) { | ||
| debug('Worker %s: About to unlock %s', workerIdLabel(), lockfileName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we have both debug and log.info with the same message, I kept only those debug calls which don't have corresponding log. Or maybe better to keep it for symmetry?
| * Context that should be included in every log message (including integrations). | ||
| */ | ||
| export const globalContext = { | ||
| process: cluster.isPrimary ? 'primary' : `worker #${cluster.worker?.id}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could make empty for primary and worker: cluster.worker?.id for worker.
b0159a1 to
3c3c6c1
Compare
With this change we get in development:
compared to
[2024-12-08 12:54:47.764 +0300] INFO (RORP): Worker #2 listening on port 3800!. The benefit is that all log messages (and integrations) now include worker ID.Summary by CodeRabbit
Release Notes
New Features
globalContextfor enhanced error reporting and logging across integrations.Bug Fixes
Documentation
Refactor