-
-
Notifications
You must be signed in to change notification settings - Fork 338
fix: address backfill issue on tcp connections; add logging #3676
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
fix: address backfill issue on tcp connections; add logging #3676
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3676 +/- ##
========================================
+ Coverage 0.51% 0.56% +0.05%
========================================
Files 377 377
Lines 21298 21449 +151
Branches 2580 2622 +42
========================================
+ Hits 109 122 +13
- Misses 21169 21307 +138
Partials 20 20 ☔ View full report in Codecov by Sentry. |
2fde6b9 to
e2bd4e6
Compare
a99fb61 to
3668f93
Compare
3668f93 to
24729ba
Compare
jamesarich
left a comment
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.
looks like the rebase munged a few of the things implemented in #3691
|
|
||
| PayloadVariantCase.LOG_RECORD -> { proto: MeshProtos.FromRadio -> handleLogRecord(proto.logRecord) } | ||
| PayloadVariantCase.LOG_RECORD -> { proto: MeshProtos.FromRadio -> handleLogReord(proto.logRecord) } | ||
|
|
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.
oop looks like you undid my typo fix... and some of the logging I had added in #3691 for the bt connection, mind giving it another pass?
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.
My bad yeah i was in rebase hell for a bit there. On it
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.
When it gets too bad, cherrypicking the other way onto a new branch is often easier
DaneEvans
left a comment
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.
looks good
…htastic#3691) Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This PR ensures the Android client always asks the radio for its buffered text messages after a disconnect/reconnect and captures the responses. We now persist the last StoreForward replay marker per device, issue a CLIENT_HISTORY request (and restart the RX collector) as soon as any transport returns to CONNECTED, and ship focused debug logs/tests. That brings Wi‑Fi/TCP reconnects back in line with BLE/2.7.5, so queued messages are delivered again.
To close #3672
big thanks to @dblaber / corruptedstack on discord for helping verify! My heltec just came in and I have also verified.