Skip to content

fix(ci): amnesty FASTLED_FORCE_SOFTWARE_PINS so #5103 clears Python smoke - #5106

Merged
zackees merged 1 commit into
masterfrom
fix/5103-python-smoke-flake
Nov 6, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/5103-python-smoke-flake

Conversation

@zackees

@zackees zackees commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Root cause: not a flake

Merge-queue run 42247110261 failed in queue-unit-linux / build > "Python smoke tests" (.github/workflows/template_unit_test.yml:191). Reproduced 5/5 failures locally with that exact step on #5103 + current master:

ci/tests/test_driver_enable_define_checker.py::test_shipped_tree_has_no_violations — #5103 adds #include "platforms/arm/renesas/renesas_pin.h" inside #if !defined(FASTLED_FORCE_SOFTWARE_PINS) in fastpin_arm_renesas.h:11. The checker from #4940 (merged on master) flags it. Neighbour PRs passed because they predate/avoid that guard+include combination; the PR head had no failing checks because the queue run tests the merge with master.

Fix

One line in ci/lint_cpp/driver_enable_define_amnesty.txt (generated via --generate-amnesty). The guard predates #5103, already wraps bsp_api.h, and selects the pin backend rather than enabling a driver; the template needs BSP types so the include cannot be hoisted out of the guard. No assertions weakened, no tests skipped, no product code touched.

Evidence

Caveats

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated linting rules to allow a platform include guarded by FASTLED_FORCE_SOFTWARE_PINS.

…5103)

#5103 adds a platforms/ include under the pre-existing
FASTLED_FORCE_SOFTWARE_PINS guard, which trips
test_shipped_tree_has_no_violations in the Python smoke inventory.
The guard predates the PR and selects the pin backend, not a driver.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions github-actions Bot added the sanitized Title, body and conversation screened; review text requires separate screening. label Nov 6, 2026
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The guarded-include amnesty list now includes FASTLED_FORCE_SOFTWARE_PINS.

Changes: Guarded include lint amnesty

Layer / File(s) Summary
Add macro to amnesty list
ci/lint_cpp/driver_enable_define_amnesty.txt
The list of macros allowed for guarded platforms/... includes now contains FASTLED_FORCE_SOFTWARE_PINS.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to f34a8

The change exempts an existing pin-backend selector using the supported amnesty mechanism. No actionable merge-blocking risk remains.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title identifies the macro amnesty and its CI purpose. These match the change.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 90d64a4 and f34a8ed.

Files selected for processing: 1

  • ci/lint_cpp/driver_enable_define_amnesty.txt

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 6, 2026
@github-actions github-actions Bot added security: unscreened-content and removed sanitized Title, body and conversation screened; review text requires separate screening. labels Nov 6, 2026
@github-actions github-actions Bot added sanitized Title, body and conversation screened; review text requires separate screening. and removed security: unscreened-content labels Nov 6, 2026
@zackees
zackees added this pull request to the merge queue Nov 6, 2026
Merged via the queue into master with commit 81696ba Nov 6, 2026
129 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Nov 6, 2026
@zackees
zackees deleted the fix/5103-python-smoke-flake branch November 17, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sanitized Title, body and conversation screened; review text requires separate screening.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant