Skip to content

fix(settings): gate Traffic Management config at firmware v2.8.0#5864

Merged
jamesarich merged 1 commit into
mainfrom
claude/wonderful-goldstine-02bc75
Jun 19, 2026
Merged

fix(settings): gate Traffic Management config at firmware v2.8.0#5864
jamesarich merged 1 commit into
mainfrom
claude/wonderful-goldstine-02bc75

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

🐛 Why

The Traffic Management radio-config screen was gated at firmware v3.0.0, hiding a feature whose firmware support already ships on the 2.8 line. There is no v3.0.0 firmware, so the screen was effectively unreachable for every real device.

The v3.0.0 value was a placeholder introduced in #4671 ("upcoming support") and never reconciled once the firmware actually landed.

Firmware support is present on 2.8.0 (verified 2026-06-18):

🛠️ What

  • Lower supportsTrafficManagementConfig from atLeast(V3_0_0) to atLeast(V2_8_0) — the same constant supportsStatusMessage already uses.
  • Drop the now-unused V3_0_0 constant.

🐛 Testing Performed

  • Updated CapabilitiesTest to expect false below 2.8.0 and true at/above 2.8.0 (mirroring the StatusMessage test).
  • ./gradlew :core:model:allTests — pass.
  • ./gradlew spotlessApply detekt — clean.

🤖 Generated with Claude Code

The Traffic Management config screen was gated at firmware v3.0.0, hiding
a feature whose firmware support already ships on the 2.8 line.

The firmware TrafficManagementModule (src/modules/TrafficManagementModule.cpp)
landed on 2.8 via meshtastic/firmware#10413, AdminModule handles
TRAFFICMANAGEMENT_CONFIG, and Modules.cpp instantiates it; firmware
version.properties is 2.8.0. There is no v3.0.0 firmware, so the v3.0.0 gate
(a placeholder from #4671's "upcoming support") hid a working feature. Lower
the gate to V2_8_0, matching the constant StatusMessage already uses, and drop
the now-unused V3_0_0 constant.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the bugfix PR tag label Jun 19, 2026
@jamesarich jamesarich enabled auto-merge June 19, 2026 01:46
@jamesarich jamesarich added this pull request to the merge queue Jun 19, 2026
Merged via the queue into main with commit 20b64d4 Jun 19, 2026
19 checks passed
@jamesarich jamesarich deleted the claude/wonderful-goldstine-02bc75 branch June 19, 2026 01:54
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.

1 participant