Skip to content

docs(channels): clarify release channel names - #3949

Merged
zackees merged 1 commit into
masterfrom
docs/3948-channel-name-contract
Aug 20, 2026
Merged

zackees merged 1 commit into
masterfrom
docs/3948-channel-name-contract

Conversation

@zackees

@zackees zackees commented Aug 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • document that auto-generated Channel_ names exist only when FASTLED_LOG_RUNTIME_ENABLED is enabled
  • explain that unnamed release channels return an empty name when runtime logging is compiled out
  • show that callers needing stable event/telemetry names must provide ChannelConfig::mName

Validation

  • source contract checked in Channel::makeName()
  • lifecycle example already uses the named ChannelConfig constructor and now explains why
  • bash lint src/fl/channels/README.md completed successfully; the repository wrapper reports Markdown as an unconfigured/skipped file type
  • git diff --check passes

Closes #3948

Summary by CodeRabbit

  • Documentation
    • Clarified how channel names are generated and when they remain stable.
    • Documented that unnamed channels may return an empty name when runtime logging is disabled.
    • Added guidance for assigning explicit channel names when stable identifiers are needed.
    • Expanded the example to show how named channel configurations behave.

@zackees
zackees merged commit 7c2d03f into master Aug 20, 2026
10 of 12 checks passed
@zackees
zackees deleted the docs/3948-channel-name-contract branch August 20, 2026 21:09
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Aug 20, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 20, 2026
@coderabbitai

coderabbitai Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d9945808-d656-49b1-89be-d948796431e1

📥 Commits

Reviewing files that changed from the base of the PR and between 31167ea and 204357b.

📒 Files selected for processing (1)
  • src/fl/channels/README.md

📝 Walkthrough

Walkthrough

The FastLED Channels README now documents IChannel::name() stability, generated names, and behavior when runtime logging is disabled. The lifecycle event example explains how to provide a stable channel name.

Changes

Channel name documentation

Layer / File(s) Summary
Document channel name contract and example
src/fl/channels/README.md
The README explains ChannelConfig::mName, FASTLED_LOG_RUNTIME_ENABLED, and empty names in builds without runtime logging. The example notes that the named constructor provides "my_strip" to callbacks.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/3948-channel-name-contract

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

follow-up: document empty Channel::name() when logging is compiled out from #2943

1 participant