-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Refine SessionManager logs #15086
Refine SessionManager logs #15086
Conversation
PR #15086: Size comparison from 512ab16 to aee46a4 Increases (5 builds for cyw30739, qpg)
Decreases (18 builds for efr32, k32w, linux, mbed, p6, telink)
Full report (31 builds for cyw30739, efr32, k32w, linux, mbed, p6, qpg, telink)
|
aee46a4
to
dd1abed
Compare
PR #15086: Size comparison from 3828308 to dd1abed Increases (1 build for esp32)
Decreases (28 builds for efr32, esp32, linux, nrfconnect, p6, telink)
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
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.
Log changes seem ok, but wondering it this is worth some boy/girl scout approach and fixing this while touching (same PR or followup since we are looking at the code):
- why do we have a
Die
in a method that can return a CHIP_ERROR ? - Why do we use an enum of Yes/No instead of a bool that is built into the language. I understand enums to pass into function methods (so that I don't read
foo(true, false, true)
but ratherfoo(EnableFeatureA::Yes, AckRequired::No, MessageType::HighPriority)
), but I do not understand them at all inside methods that have names and are basically bools.
That local ends up getting passed to other functions. |
dd1abed
to
488abb7
Compare
PR #15086: Size comparison from 08d8b9b to 488abb7 Increases (41 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (44 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
488abb7
to
fbe32ed
Compare
PR #15086: Size comparison from 924c01c to fbe32ed Increases (42 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (45 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
Problem
The duplicated packet log is not printed correctly in certain condition.
Change overview
Print duplicated packet info when detected, make it more intuitive.
Testing
Passes tests