Repository navigation
fix(ci): amnesty FASTLED_FORCE_SOFTWARE_PINS so #5103 clears Python smoke - #5106
Conversation
…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]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
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)infastpin_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 wrapsbsp_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
ci/tests/test_driver_enable_define_checker.py: 7 passedCaveats
bash lint.🤖 Generated with Claude Code
Summary by CodeRabbit
FASTLED_FORCE_SOFTWARE_PINS.