Repository navigation
ci(lpc8xx): extend canary to Blink + DemoReel100 + FxEngine (closes fbuild#550) - #3091
Conversation
Closes FastLED/fbuild#550. PR #3080 wired the 5 ArduinoCore-LPC8xx variants into FastLED CI with args = "<variant> Blink". The remaining acceptance criterion on fbuild#550 is that DemoReel100 and FxEngine link clean on lpc845 + lpc804 (and by extension the other 3 board variants of those MCUs). This bumps the canary scope from one example to three: args: <variant> Blink DemoReel100 FxEngine One line per workflow. If a specific example overflows the LPC8xx 64 KB flash budget, the canary will surface a clean linker-overflow signal that the next bloat-hunt round can address (see FastLED #3079 -- LPC845 64 KB flash bloat-hunt meta -- for the broader effort). Why FastLED-side instead of fbuild-side fixtures: the existing fbuild tests/platform/<board>/<board>.ino fixtures are Arduino-HAL only (pinMode/digitalWrite/delay). Pulling FastLED in as a fbuild test dependency would have required new fixture infrastructure on the fbuild repo (libs/FastLED/ vendoring + pinning + per-example sub-fixtures). FastLED's own per-board CI already runs `./compile <variant> <example>` through the fbuild nxplpc orchestrator -- that's the validation surface fbuild#550 cares about, just on the FastLED side. Verification: * No code changes -- only the args string in each workflow's `uses: build_template.yml` call. * bash lint passes (no Python/C++/JS code touched). Refs FastLED/fbuild#586 (burn-down meta item 4-of-5). Co-Authored-By: Claude Opus 4.7 (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 Run ID: 📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (4)
📝 WalkthroughWalkthroughFive LPC8xx GitHub Actions build workflows are updated to pass ChangesLPC8xx CI Build Target Expansion
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/build_lpc804.yml:
- Line 27: In the args parameter on line 27 of the build_lpc804.yml workflow
file, change the `FxEngine` argument to `Fx/FxEngine` to reflect the correct
nested directory path where the example is actually located. The argument parser
expects the full relative path from the examples directory, so update the args
list from `lpc804 Blink DemoReel100 FxEngine` to `lpc804 Blink DemoReel100
Fx/FxEngine` to ensure the workflow can correctly locate and compile the
example.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 1edb5f51-9370-4c64-94b2-679906203656
📒 Files selected for processing (5)
.github/workflows/build_lpc804.yml.github/workflows/build_lpc845.yml.github/workflows/build_lpc845brk.yml.github/workflows/build_lpcxpresso804.yml.github/workflows/build_lpcxpresso845max.yml
CodeRabbit review on #3091 caught that `FxEngine` lives at `examples/Fx/FxEngine/`, not `examples/FxEngine/`. The argument parser validates example paths and would have rejected `FxEngine` as-is. Updated all 5 LPC workflow files from `FxEngine` to `Fx/FxEngine` so the canary actually finds and compiles the example. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Summary
<variant> Blinkto<variant> Blink DemoReel100 FxEngine.Why
fbuild#550's acceptance criterion is "
fbuild buildof Blink / DemoReel100 / FxEngine links clean for lpc845 + lpc804." PR #3080 wired the canary againstBlinkonly as a first-light. With LPC8xx brought up end-to-end on real silicon, this extends the canary surface to the full three-example set the issue asks for.Why FastLED-side rather than fbuild-side fixtures
fbuild's existingtests/platform/<board>/<board>.inofixtures are Arduino-HAL-only (pinMode/digitalWrite/delay; no<FastLED.h>include). Bringing FastLED in as a fbuild test-time dependency would have required new fixture infrastructure (libs/FastLED vendoring, per-example sub-fixtures). FastLED's own per-board CI already runs./compile <variant> <example>through the fbuildnxplpcorchestrator — that's the validation surface fbuild#550 actually cares about.This matches the option-A recommendation in the investigation report posted on fbuild#550.
Closes
Risk + signal
If
DemoReel100orFxEngineoverflows the 64 KB LPC8xx flash budget, the canary will surface a clean linker-overflow with a specific size delta. That's a falsifiable signal for the next bloat-hunt round to act on (see #3079 for the broader flash bloat tracking).Test plan
args:string in each workflow'sbuild_template.ymlcall.bash lintpasses (no Python / C++ / JS touched).🤖 Generated with Claude Code
Summary by CodeRabbit
Chores