Repository navigation
fix(rx): add 'ok platform headers' escape hatch to feature_flags include - #3563
Merged
Merged
Conversation
PR #3560 added #include "platforms/esp/32/feature_flags/enabled.h" without the '// ok platform headers' suffix the codebase uses to opt into deep-platform-header allowance. Both the PlatformIncludesChecker and PlatformTrampolineChecker lint rules rejected it, breaking every unit_test workflow (linux, macos, windows). The include is legitimate — it sits inside the existing '#ifdef FL_IS_ESP32' block alongside three siblings that already carry the suffix (rmt_rx_channel.h, gpio_isr_rx.h). Add the same suffix. Verified locally: bash lint --cpp completes green. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA single-line change moves the inclusion of the ESP32 feature-flags header (platforms/esp/32/feature_flags/enabled.h) so it is now included within the FL_IS_ESP32 conditional block in rx.cpp.hpp. ChangesESP32 Include Adjustment
Estimated code review effort: 1 (Trivial) | ~2 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #3560 added an include of platforms/esp/32/feature_flags/enabled.h without the '// ok platform headers' suffix the codebase uses to opt into deep-platform-header allowance. Both PlatformIncludesChecker and PlatformTrampolineChecker rejected it, breaking every unit_test workflow (linux, macos, windows).
The include is legitimate — it sits inside the existing '#ifdef FL_IS_ESP32' block alongside three siblings that already carry the suffix. Add the same suffix.
Verified locally: bash lint --cpp completes green.
Generated with Claude Code
Summary by CodeRabbit