Skip to content

ci(lpc8xx): extend canary to Blink + DemoReel100 + FxEngine (closes fbuild#550) - #3091

Merged
zackees merged 2 commits into
masterfrom
feat/550-lpc-canary-extend
Jun 15, 2026
Merged

zackees merged 2 commits into
masterfrom
feat/550-lpc-canary-extend

Conversation

@zackees

@zackees zackees commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

Summary

Why

fbuild#550's acceptance criterion is "fbuild build of Blink / DemoReel100 / FxEngine links clean for lpc845 + lpc804." PR #3080 wired the canary against Blink only 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 existing tests/platform/<board>/<board>.ino fixtures 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 fbuild nxplpc orchestrator — 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 DemoReel100 or FxEngine overflows 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

  • No code changes — only the args: string in each workflow's build_template.yml call.
  • bash lint passes (no Python / C++ / JS touched).
  • CI: the 5 new LPC workflows only fire on push-to-master per the existing convention, so PR CI will not exercise them — they'll be visible on master's run immediately after merge.

🤖 Generated with Claude Code

Summary by CodeRabbit

Chores

  • Updated continuous integration build workflows for LPC804, LPC845, LPC845BRK, LPCXpresso804, and LPCXpresso845max to extend the delegated build arguments, adding additional DemoReel100 and Fx/FxEngine targets alongside Blink to improve build coverage and compatibility checks.

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]>
@coderabbitai

coderabbitai Bot commented Jun 15, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 373d2c7c-1137-4b78-adba-dde91b51bd54

📥 Commits

Reviewing files that changed from the base of the PR and between 1468d01 and 759b91d.

📒 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
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/build_lpc845brk.yml
🚧 Files skipped from review as they are similar to previous changes (4)
  • .github/workflows/build_lpc845.yml
  • .github/workflows/build_lpc804.yml
  • .github/workflows/build_lpcxpresso845max.yml
  • .github/workflows/build_lpcxpresso804.yml

📝 Walkthrough

Walkthrough

Five LPC8xx GitHub Actions build workflows are updated to pass DemoReel100 and FxEngine as additional build targets alongside the existing Blink target when invoking the shared build_template.yml reusable workflow. Each change is a single-line edit to the args input at line 27.

Changes

LPC8xx CI Build Target Expansion

Layer / File(s) Summary
Expand build args across all LPC8xx workflows
.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
The args input to build_template.yml is extended from <board> Blink to <board> Blink DemoReel100 Fx/FxEngine in all five LPC8xx variant workflows.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#2319: Relevant because that PR defines how build_template.yml parses inputs.args (the first token as the board name), and this PR's multi-target args string depends on that parsing behaviour being stable.
  • FastLED/FastLED#3080: Directly precedes this PR — it introduced the per-board workflow structure with args: <variant> Blink that this PR now extends to include DemoReel100 Fx/FxEngine.

Poem

🐇 Hop, hop, hooray for the LPC crew,
Three sketches to build where once there was one!
Blink blinks along, and DemoReel too,
FxEngine joins in—now the CI's more fun.
This bunny approves of more tests in the queue! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly and accurately reflects the main change: extending CI coverage for LPC8xx microcontrollers to include additional examples (DemoReel100 and FxEngine) beyond Blink.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/550-lpc-canary-extend

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 and usage tips.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 15, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 9105b85 and 1468d01.

📒 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

Comment thread .github/workflows/build_lpc804.yml Resolved
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]>
@zackees
zackees merged commit 8d7af6d into master Jun 15, 2026
5 checks passed
@zackees
zackees deleted the feat/550-lpc-canary-extend branch June 15, 2026 19:16
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 15, 2026
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.

LPC8xx Stage 6: FastLED canary — Blink/DemoReel100/FxEngine compile for lpc845/lpc804

1 participant