Repository navigation
docs(ci): correct stale comments on board_partitions and filesystem_size - #3989
Conversation
`board_partitions` was documented "Reserved for future use", but 8 boards set it and the ini emitter consumes it (ci/boards.py). The comment is wrong and actively misleading — it caused a factual error during design work on filesystem-image support. Replaces both comments with descriptions of what the fields do. `board_build_filesystem_size` genuinely is unset by every board today, so its comment now says that explicitly rather than leaving the reader to guess. Closes #3985 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughUpdated comments for ChangesBoard field documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This PR only corrects documentation for existing board configuration fields and does not change behavior; no actionable merge-blocking risk remains. 🚥 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 |
Problem
ci/boards.pydocumentedboard_partitionsas "Reserved for future use":But 8 boards set it, and the ini emitter consumes it:
The comment is simply wrong. It caused a concrete factual error during design work on filesystem-image support (FastLED/fbuild#1358), where the field was reported as unused based on reading the comment rather than the call sites.
Fix
Both fields now describe what they actually do:
board_partitions— ESP32 partition-table CSV name, emitted asboard_build.partitions, set by boards whose app exceeds the default 1.25MB partition.board_build_filesystem_size— the sibling field, which genuinely is unset by every board today. Rather than leave it bare, its comment now says so explicitly, since it becomes relevant with filesystem-image support.Comment-only change; no behavior difference.
bash lintclean.Closes #3985
🤖 Generated with Claude Code
Summary by CodeRabbit