-
Notifications
You must be signed in to change notification settings - Fork 530
better panic debug strs #2524
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
better panic debug strs #2524
Conversation
WalkthroughThis pull request enhances error handling and debugging context across the WebSocket-based RPC infrastructure. The changes introduce tracking of command type context in the WS command processor and extend the SendRpcMessage method signature across multiple RPC client implementations to accept an optional debug string parameter. Call sites are updated to pass descriptive string tags (e.g., "eventrecv", "route", "auth-resp") that indicate the origin or context of RPC messages. The modifications are purely additive to error context and do not alter core message-sending behavior. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-01-22T01:28:41.417ZApplied to files:
🧬 Code graph analysis (1)pkg/web/ws.go (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (10)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.5.0)Error: unknown linters: 'unusedfunc,unusedparams', run 'golangci-lint help linters' to see the list of supported linters 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. Comment |
No description provided.