-
Notifications
You must be signed in to change notification settings - Fork 130
chore: add logs #3247
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
chore: add logs #3247
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Code ReviewThis PR adds logging statements and renames WorkflowStopped to WorkflowEvicted. Positive Aspects
Issues and Concerns1. Missing Context in Rust Logs (Moderate)In engine/packages/pegboard-serverless/src/lib.rs:220, the message "scaling" is vague. Per CLAUDE.md, messages should be more descriptive. Consider "runner scaling adjusted" or "scaling runners to meet demand" 2. Missing Context in Outbound Handler Log (Moderate)In engine/packages/pegboard-serverless/src/lib.rs:310:
3. Inconsistent Logging in TypeScript (IMPORTANT)Problem: Removing runnerId from logs makes debugging harder, especially with multiple concurrent runners:
Recommendation: Keep runnerId in logs. It is crucial for correlating logs across distributed runner instances. 4. Debug Noise (Low Priority)Lines 275-278 log process.listeners("SIGINT"). This appears to be debugging code that should likely be removed before merge. Testing Concerns
Recommendations SummaryMust Fix:
Should Fix:
Nice to Have:
Overall AssessmentThe error rename is a good semantic improvement, but the logging changes have issues, particularly removing runnerId from TypeScript logs which will hurt debuggability. Recommendation: Request changes to restore runnerId before merging. |
c1830eb to
d78cc5f
Compare
cc0954d to
13b5e55
Compare
PR Review: Add logsSummaryThis PR adds debug logging to improve observability and renames Code Quality & Best Practices✅ Positive Changes:
Potential Bugs or Issues✅ No bugs identified - The changes are straightforward:
Performance Considerations✅ No performance concerns:
Security Concerns✅ No security issues:
Test Coverage
Additional Notes
VerdictApprove with minor suggestions ✅ The changes are clean and improve both terminology and observability. The suggestions above are minor and non-blocking. The core changes (error renaming and debug logging) are solid. |
PR Review: chore: add logsSummaryThis PR makes two main changes:
Code Quality & Best Practices✅ Strengths
|
Merge activity
|

No description provided.