Skip to content

fix: nodes seen before full user exchange not being updated in phone NodeDB#3996

Merged
jamesarich merged 3 commits into
meshtastic:mainfrom
mdecourcy:fix/update-denormalized-columns-on-preserve
Dec 17, 2025
Merged

fix: nodes seen before full user exchange not being updated in phone NodeDB#3996
jamesarich merged 3 commits into
meshtastic:mainfrom
mdecourcy:fix/update-denormalized-columns-on-preserve

Conversation

@mdecourcy

@mdecourcy mdecourcy commented Dec 13, 2025

Copy link
Copy Markdown
Contributor

When shouldPreserveExistingUser() returns true in installNodeInfo() and handleReceivedUser(), the code correctly preserves the existing user protobuf but fails to update the denormalized longName and shortName columns from the preserved data.

Result: Node has valid data in user.longName but NULL in the longName/shortName columns used for filtering

Should close #3992

@github-actions github-actions Bot added the bugfix PR tag label Dec 13, 2025
@codecov

codecov Bot commented Dec 13, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.56%. Comparing base (61bc9bf) to head (15d89f0).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...in/java/com/geeksville/mesh/service/MeshService.kt 0.00% 10 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #3996      +/-   ##
========================================
- Coverage   0.56%   0.56%   -0.01%     
========================================
  Files        405     405              
  Lines      24141   24150       +9     
  Branches    3099    3099              
========================================
  Hits         136     136              
- Misses     23984   23993       +9     
  Partials      21      21              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdecourcy no proto pls 🙏

The proto submodule was accidentally updated. Reverting it back to the
commit used in main (4095e598).
@jamesarich jamesarich self-requested a review December 16, 2025 19:15
@jamesarich jamesarich marked this pull request as ready for review December 17, 2025 20:11
@jamesarich jamesarich enabled auto-merge December 17, 2025 20:11
@jamesarich jamesarich added this pull request to the merge queue Dec 17, 2025
Merged via the queue into meshtastic:main with commit 81654a0 Dec 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Node Missing from NodeDB, cannot be imported. Node does appear in Traceroutes.

2 participants