-
Notifications
You must be signed in to change notification settings - Fork 139
chore(engine): improve logging around cross-dc requests #3609
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(engine): improve logging around cross-dc requests #3609
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
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 improves logging around cross-datacenter requests. Overall, the changes are well-structured and follow good practices. Here's my feedback: ✅ Strengths
🔍 Observations
💡 SuggestionsMinor: Consider truncating response bodies in error messages Large response bodies could make logs noisy. Consider truncating the body in error messages: let body_preview = if body_text.len() > 500 {
format!("{}... (truncated)", &body_text[..500])
} else {
body_text.to_string()
};However, this is truly optional - in distributed system debugging, having the full response body is often invaluable. 🎯 ConclusionApproved ✓ This is a solid improvement to error handling and observability. The changes:
The minor suggestions above are truly optional - the PR is ready to merge as-is. |
More templates
@rivetkit/cloudflare-workers
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
Merge activity
|

No description provided.