Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughUnknown-packet handlers now return whether they recognize a packet. The networking layer skips unknown-packet logging for recognized packets. The server handler recognizes voice relay packets, and a packet-dispatch test checks recognized and declined packets. ChangesPacket Recognition
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The packet test observes logs synchronously, and no merge-blocking issue remains. Pre-merge checks |
|
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Voice relay frames (
ID_RAKVOICE_RELAY_DATA, packet 48) were logged as unknown before the server's fallback handler processed them, flooding server logs during voice chat.Run the fallback handler before logging and let it return whether it recognized the packet. Handled voice frames continue through the relay without trace spam; unclaimed packets retain their diagnostics.
Validation:
builds\build.bat RunFrameworkTests 64passed all 660 framework tests and the client scripting test. The new regression check verifies that a burst of 100 voice frames reaches the handler without unknown-packet logs, while declined packets and packets with no handler still get logged.Summary by CodeRabbit