Repository navigation
Description
Summary
The build badges currently shown in README.md indicate 12 workflows whose most recent completed run on master ended in failure as of 2026-06-05.
This issue collects them into one place so they can be triaged and fixed. Local verification with bash compile <board> (the project-standard reproducer per CLAUDE.md) confirms the AVR family failures share a single root cause — see "Confirmed root cause" below.
Broken workflows (from README badges)
All twelve workflows below are linked from README.md. Each link points to the most recent failed run on master.
Arduino / AVR family
| Workflow | README section | Latest failing run |
|---|---|---|
uno AVR8JS Test |
Emulation Tests | https://github.com/FastLED/FastLED/actions/runs/27000253840 |
atmega8a |
Arduino Family → Core Boards | https://github.com/FastLED/FastLED/actions/runs/27002324285 |
nano_every |
Arduino Family → Core Boards | https://github.com/FastLED/FastLED/actions/runs/27002324484 |
attiny1604 |
Arduino Family → ATtiny Series | https://github.com/FastLED/FastLED/actions/runs/27002324359 |
attiny1616 |
Arduino Family → ATtiny Series | https://github.com/FastLED/FastLED/actions/runs/27002324370 |
Apollo3 / RP2040 / STM32
| Workflow | README section | Latest failing run |
|---|---|---|
apollo3_red |
Apollo3 (Ambiq) | https://github.com/FastLED/FastLED/actions/runs/27000950616 |
apollo3_thing_explorable |
Apollo3 (Ambiq) | https://github.com/FastLED/FastLED/actions/runs/27000950639 |
rp2040 |
Raspberry Pi Pico | https://github.com/FastLED/FastLED/actions/runs/27002324437 |
stm32h747xi_giga |
STM32 (STMicroelectronics) | https://github.com/FastLED/FastLED/actions/runs/27002324378 |
Aggregate / size checks
| Workflow | README section | Latest failing run |
|---|---|---|
build (top-level CI) |
Header badge row | https://github.com/FastLED/FastLED/actions/runs/27000950685 |
esp32dev_binary_size (check_esp32_size.yml) |
Library Size Validation | https://github.com/FastLED/FastLED/actions/runs/27002324411 |
check_teensy41_size |
Library Size Validation | https://github.com/FastLED/FastLED/actions/runs/27002324432 |
Confirmed root cause — AVR family (atmega8a, nano_every, attiny1604, attiny1616)
Locally reproduced with bash compile atmega8a and bash compile nano_every. Both fail at the same set of references in src/platforms/avr/watchdog_avr.impl.hpp:
bash compile atmega8a (excerpt):
src/platforms/avr/watchdog_avr.impl.hpp:80:28: error: 'WDTO_4S' was not declared in this scope
if (ms <= 4000) return WDTO_4S;
src/platforms/avr/watchdog_avr.impl.hpp:81:12: error: 'WDTO_8S' was not declared in this scope
return WDTO_8S;
src/platforms/avr/watchdog_avr.impl.hpp:96:25: error: 'MCUSR' was not declared in this scope
sAvrCapturedMcusr = MCUSR;
bash compile nano_every (excerpt):
src/platforms/avr/watchdog_avr.impl.hpp:61:23: error: 'EXTRF' was not declared in this scope
if (mcusr & (1 << EXTRF)) return ResetCause::EXTERNAL_PIN;
src/platforms/avr/watchdog_avr.impl.hpp:62:23: error: 'PORF' was not declared in this scope
if (mcusr & (1 << PORF)) return ResetCause::POWER_ON;
src/platforms/avr/watchdog_avr.impl.hpp:80:28: error: 'WDTO_4S' was not declared in this scope
src/platforms/avr/watchdog_avr.impl.hpp:81:12: error: 'WDTO_8S' was not declared in this scope
src/platforms/avr/watchdog_avr.impl.hpp:96:25: error: 'MCUSR' was not declared in this scope
What's broken
src/platforms/avr/watchdog_avr.impl.hpp unconditionally references symbols that do not exist on all AVR variants:
WDTO_4S/WDTO_8S— present on ATmega328P, 2560, etc., but not on ATmega8 (which tops out atWDTO_2S) and not on the modern megaAVR-0 / tinyAVR-1 series (ATmega4809 a.k.a. nano_every, ATtiny1604/1616 — these use the RTC peripheral and don't share the classicWDTO_*constants).MCUSR/EXTRF/PORF— the classic-AVR reset cause register. Modern megaAVR-0 / tinyAVR-1 chips expose reset cause viaRSTCTRL.RSTFRinstead, so the legacy names are not declared.
Likely fix
The file needs platform gating around the unsupported symbols, similar to other per-family <avr/io.h> guards. Options:
- Gate the WDTO ceiling per device:
#if defined(WDTO_8S)…#elif defined(WDTO_4S)… etc., and lowerFL_WATCHDOG_MAX_TIMEOUT_MSaccordingly. - For megaAVR-0 / tinyAVR-1 (test e.g.
__AVR_XMEGA__orRSTCTRL_RSTFR_*macro presence): provide a separate code path usingRSTCTRLandWDT.CTRLArather thanMCUSR/wdt_*macros from<avr/wdt.h>. - Fall back to the watchdog stub (no hardware) for the smallest ATtinys where this isn't worth supporting.
Regression source
Introduced by commit ca09808b5f — "feat(watchdog): real per-platform hardware impls for ALL platforms (#2731 Phase 2) (#2745)". The AVR implementation assumed classic-AVR <avr/io.h> symbols are universal; they aren't.
Other failures — likely independent
The following four failures are on different toolchains and are not (yet) traced to the watchdog regression. They need their own diagnosis from their latest run logs:
apollo3_red,apollo3_thing_explorable— Apollo3 / SparkFun Arduino_Apollo3 v2.2.0. Last seen failing 2026-06-05T07:10Z.rp2040— Raspberry Pi Pico, last seen failing in the same push as the AVR breakage (2026-06-05T07:43Z). Could be unrelated or could be the watchdog change leaking intoplatforms/rp/.stm32h747xi_giga(build_giga_r1.yml) — Arduino GIGA R1.
Local bash compile runs for these four are in progress at the time of filing; results will be added as a comment.
Aggregate / size check failures
build— the top-level workflow runs the example matrix and is expected to fail while any per-board workflow above is red. Closing the underlying board failures should clear it.esp32dev_binary_size/check_teensy41_size— these run example compiles and assert size budgets, so they can fail either from a true size regression or from a transitive compile failure. Their latest run logs will tell which.
Verification methodology
Per CLAUDE.md, builds were verified with the project-standard wrapper:
bash compile atmega8a
bash compile nano_every
bash compile ATtiny1604
bash compile ATtiny1616
bash compile apollo3_red
bash compile apollo3_thing_explorable
bash compile rp2040
bash compile stm32h747xi
(NOT bash test — that runs the unit-test layer, which is green here. The breakage is in the per-board firmware compile step.)
Acceptance criteria
- All 12 workflows above pass on
master. -
src/platforms/avr/watchdog_avr.impl.hppbuilds for every board listed inbash compile --supported-boardsthat is in the AVR family (atmega8a, nano_every, atmega328-class, ATtiny1604/1616/4313/85/88). - Apollo3, RP2040, and STM32 Giga failures have a confirmed root cause + fix or a documented expected-failure carve-out.
- README badges go green.
Filed automatically from README.md build badges; verification compiles run via bash compile <board>.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Jun 5, 2026
README sweep status update (auto, post /loop iteration)
uno AVR8JS Test — investigation finding
Downloaded the failure artifact from run 27005282879. The compile is fine (firmware.hex = 6.31 KB, generated cleanly). The Docker run for niteris/fastled-avr8js:latest exits 1 with the captured emulator output being completely empty — no "Test setup starting" either. The sketch (
examples/Test/Test.ino) doesSerial.begin(115200); Serial.println("Test setup starting");as the first line of setup() — that string never appearing means either:Serial.begin()(atmega328p watchdog? infinite reset loop?), ORrunner.usart.onByteTransmithook (inci/docker_utils/avr8js/main.ts:66) isn't firing under the current container build (possibly a Node 20→24 deprecation interaction — the log shows the Node.js 20 deprecation warning).Reproducing locally requires the Docker setup at
ci/docker_utils/Dockerfile.avr8js. Out of scope for this /loop iteration — needs an interactive debugging session with the emulator under--verboseto see whether PORTB writes are firing (would confirm CPU is running even if USART output is broken).fix(boards): case-insensitive fallback in `create_board` lookup (#2779 …
zackees commentedon Aug 20, 2026
Reopening after the merged DEFAULT-macro fix: authoritative master run 32398869196 now reaches the full atmega8a matrix but still fails because examples/AnalogOutput overflows the ATmega8A's 8 KiB flash by 12,156 bytes. Continuing the issue until the tracked workflow is green.
fix(ci): skip oversized analog example on ATmega8 (#3943)