Skip to content

feat(meshcore): log DESIRED vs READBACK after channel apply#131

Merged
pskillen merged 1 commit into
mainfrom
bot-129/paddy/apply-verify-logging
Jun 4, 2026
Merged

feat(meshcore): log DESIRED vs READBACK after channel apply#131
pskillen merged 1 commit into
mainfrom
bot-129/paddy/apply-verify-logging

Conversation

@pskillen
Copy link
Copy Markdown
Owner

@pskillen pskillen commented Jun 4, 2026

Summary

  • After apply_mc_channel_config, log the apply payload as DESIRED and a device readback as READBACK (via read_device_channels without scope_hints).
  • Emit WARNING on slot name/type mismatches; warn on region_scope only when firmware returns scope in CHANNEL_INFO (expected to be absent today).
  • Helps operators see that post-apply API sync still merges scope_hints and is not proof of per-slot scope on the radio (#129).

Closes #129

Testing performed

  • pytest test/meshcore/test_channels.py test/meshcore/test_channel_sync.py -v --no-cov
  • Manual apply on feeder (optional): confirm DESIRED/READBACK lines in bot logs

After apply_mc_channel_config, read the device without scope_hints and
warn on name/type mismatches so operators do not treat scope_hints merge
as firmware truth. Closes #129.
@pskillen pskillen merged commit 7fdabaa into main Jun 4, 2026
3 checks passed
@pskillen pskillen deleted the bot-129/paddy/apply-verify-logging branch June 4, 2026 10:17
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.

MeshCore apply does not persist per-channel region_scope on radio

2 participants