Repository navigation
fix(include-farm): keep dirs whose top-level headers climb out via .. - #1581
Conversation
esp_bt.h (IDF bt/include/esp32/include) does #include "../../../controller/esp32/esp_bredr_cfg.h". Linked at the farm root, the .. escaped the farm and esp32dev failed on esp32-hal-bt.c. The conflict check built "/" + name for top-level headers, making the include absolute so the escape was never compared, and its fallback chain still searched the farmed dir itself. Use the bare name at the root and compare against the post-farm -I chain. Farm format v3 rebuilds caches. Regression from #1550.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedNext included review available in 49 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: FastLED/fbuild/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: FastLED/fbuild/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe include-farm format version increases to 3. Quoted-include conflict checks now use the post-farm search chain, and a test covers a top-level header whose relative include path climbs out of its directory. ChangesInclude-farm lookup
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The include-farm change is mergeable after normal checks; no actionable risk remains identified. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change affects which existing SDK include directories remain in the compiler search path and rebuilds incompatible caches. No new external entry point or expanded build authority was established. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
esp_bt.h (IDF bt/include/esp32/include) does
#include "../../../controller/esp32/esp_bredr_cfg.h". Linked at the farm
root, the .. escaped the farm and esp32dev failed on esp32-hal-bt.c.
The conflict check built "/" + name for top-level headers, making the
include absolute so the escape was never compared, and its fallback chain
still searched the farmed dir itself. Use the bare name at the root and
compare against the post-farm -I chain. Farm format v3 rebuilds caches.
Regression from #1550.
Summary by CodeRabbit