Repository navigation
Description
Goal
All four emulation-based CI workflows are red on master and have been red for every push in recent history. An agent should investigate each, fix the underlying issues, and leave them green and gating.
Affected workflows
| Workflow | File | Representative failing run |
|---|---|---|
| ESP32-DEV QEMU Test | `.github/workflows/qemu_esp32dev_test.yml` | https://github.com/FastLED/FastLED/actions/runs/24590847834 |
| ESP32-C3 QEMU Test | `.github/workflows/qemu_esp32c3_test.yml` | https://github.com/FastLED/FastLED/actions/runs/24590847817 |
| ESP32-S3 QEMU Test | `.github/workflows/qemu_esp32s3_test.yml` | https://github.com/FastLED/FastLED/actions/runs/24590847828 |
| uno AVR8JS Test | `.github/workflows/avr8js_uno_test.yml` | https://github.com/FastLED/FastLED/actions/runs/24590847799 |
Shared templates: `qemu_docker_template.yml`, `avr8js_docker_template.yml`.
Symptoms (from one run per family)
QEMU ESP32-DEV — the pio build does not produce the expected artifacts, so the QEMU step aborts before emulation even starts:
ERROR: Compilation failed for board esp32dev
Required binary files not found after build:
.build/pio/esp32dev/.pio/build/esp32dev/bootloader.bin
.build/pio/esp32dev/.pio/build/esp32dev/partitions.bin
.build/pio/esp32dev/.pio/build/esp32dev/firmware.bin
- Board esp32dev failed
AVR8JS Uno — pio build produces no `firmware.elf`:
Warning: Failed to parse metadata JSON for build_info.json:
Expecting value: line 1 column 1 (char 0)
❌ firmware.elf not found in .build/pio/uno/.pio/build/uno
So the pattern across all four is: the pio build phase fails quietly (no usable artifacts), the emulation phase reports "firmware/elf/bin missing," and the job exits 1. The real error is almost certainly upstream — a compile/link failure that the build wrapper swallows into a vague "Compilation failed for board X" message.
What the agent should do
- For each failing workflow, rerun or inspect the most recent master run and extract the actual compiler/linker error (the current "Compilation failed" message is a summary — the underlying error is earlier in the log or in `failures/*.log` artifacts).
- Fix root causes. Expect a mix of:
- toolchain/platform pin drift (see also CI: esp32c2 (and possibly other esp32 workflows) fail because platformio==6.1.18 is incompatible with pioarduino espressif32 stable #2281 — platformio 6.1.18 vs 6.1.19)
- recent FastLED source changes breaking ESP32 / AVR compile paths
- QEMU image / AVR8JS runtime version drift
- missing or renamed example paths (similar to the I2S rename in fix(ci): point esp32dev_i2s workflow at the renamed DriverTest example #2280)
- Improve the build wrapper error surfacing so future regressions fail with a cause, not just "Required binary files not found."
- Land fixes as separate PRs per workflow if the causes are unrelated; bundle if they share a root cause.
- Verify all four workflows turn green on master after merging.
Acceptance criteria
- ESP32-DEV QEMU Test green on master
- ESP32-C3 QEMU Test green on master
- ESP32-S3 QEMU Test green on master
- uno AVR8JS Test green on master
- Build wrapper surfaces the real compile error on failure (no more silent "required binaries not found")
Related
- CI: esp32c2 (and possibly other esp32 workflows) fail because platformio==6.1.18 is incompatible with pioarduino espressif32 stable #2281 — platformio 6.1.18 vs pioarduino espressif32 stable (may be contributing to the ESP32 QEMU failures)
Activity
fix(ci): mirror fbuild artifacts to .pio/build and force PIO for merg…
fix(ci): mirror fbuild artifacts to .pio/build and force PIO for merg…