Skip to content

CI regression: esp32c2 CPP Check fails — pio check can't resolve huge_app.csv after fbuild compile #2302

Closed

Description

@zackees

Symptom

The esp32c2 workflow has been red on master since commit 7674a91 (#2292, 2026-04-18) — the PR that switched ESP32 QEMU merged-bin builds to fbuild.

Failure surfaces in the CPP Check step (ci/ci-cppcheck.py):

Checking esp32c2 > cppcheck (board: esp32-c2-devkitm-1; platform: ...)
--------------------------------------------------------------------------------
UserSideException: Processing esp32c2 (...)
Missing partition table file `/home/runner/work/FastLED/FastLED/trusted/.build/pio/esp32c2/huge_app.csv`
========================== [FAILED] Took 9.44 seconds ==========================

Confirmed failures on master:

Commit PR Run
7852db6f7 #2299 drop mirror https://github.com/FastLED/FastLED/actions/runs/24598125268
de1156659 #2291 mirror after pio metadata https://github.com/FastLED/FastLED/actions/runs/24596888976
7674a9100 #2292 fbuild for QEMU https://github.com/FastLED/FastLED/actions/runs/24596343914

PR #2300 also fails on the same step for the same reason, blocking its merge.

Root cause

The esp32c2 build now runs through fbuild, but ci/ci-cppcheck.py shells out to pio check, which requires a fully-populated PIO project tree. fbuild doesn't populate .build/pio/esp32c2/<Example>/ with the resolved huge_app.csv, so PIO's ESP-IDF config step fails before cppcheck can even start.

Two PRs (#2285, #2291) tried to patch around this with a fbuild→.pio/build mirror; #2299 removed that mirror because it was targeting the wrong dir for cppcheck anyway (.pio/build/<env>/, not .build/pio/<env>/).

Blocked by

Options to unblock short-term (while #2301 lands)

Acceptance

  • esp32c2 workflow green on master
  • CPP Check step either runs successfully on fbuild-compiled output, or is cleanly skipped with a visible reason

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions