Skip to content

Long name reduction#945

Merged
thebentern merged 1 commit into
developfrom
long_name
Jun 11, 2026
Merged

Long name reduction#945
thebentern merged 1 commit into
developfrom
long_name

Conversation

@thebentern

Copy link
Copy Markdown
Contributor

No description provided.

@thebentern thebentern requested a review from Copilot June 11, 2026 15:55
@thebentern thebentern changed the base branch from master to develop June 11, 2026 15:55
@github-actions

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow pull-request / build (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed❌ failed (6)Jun 11, 2026, 3:55 PM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR reduces the nanopb max_size allocations for various long_name string fields from 40 to 25, presumably to reduce RAM usage in embedded builds that use these .options files.

Changes:

  • Reduce MapReport.long_name nanopb max_size to 25 in mqtt.options.
  • Reduce User.long_name nanopb max_size to 25 in mesh.options.
  • Reduce UserLite.long_name and DeviceProfile.long_name nanopb max_size to 25 in deviceonly.options / clientonly.options.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
meshtastic/mqtt.options Lowers MapReport.long_name nanopb buffer size.
meshtastic/mesh.options Lowers User.long_name nanopb buffer size.
meshtastic/deviceonly.options Lowers UserLite.long_name nanopb buffer size.
meshtastic/clientonly.options Lowers DeviceProfile.long_name nanopb buffer size.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread meshtastic/mqtt.options
*ServiceEnvelope.gateway_id type:FT_POINTER

*MapReport.long_name max_size:40
*MapReport.long_name max_size:25
Comment thread meshtastic/mesh.options
*public_key max_size:32 # public key

*User.long_name max_size:40
*User.long_name max_size:25
@@ -1,4 +1,4 @@
*DeviceProfile.long_name max_size:40
*DeviceProfile.long_name max_size:25
*NodeInfoLite.role int_size:8

*UserLite.long_name max_size:40
*UserLite.long_name max_size:25
@thebentern thebentern merged commit 6f03859 into develop Jun 11, 2026
3 of 4 checks passed
@thebentern thebentern deleted the long_name branch June 11, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants