Skip to content

CI: esp32c2 (and possibly other esp32 workflows) fail because platformio==6.1.18 is incompatible with pioarduino espressif32 stable #2281

Closed

Description

@zackees

Symptom

The esp32c2 workflow has been failing consistently on master (last several runs). The pio check / cppcheck step aborts with:

IncompatiblePlatform: Development platform 'espressif32' is not compatible
with PlatformIO Core v6.1.18 and depends on PlatformIO Core >=6.1.19.

Then xargs propagates a non-zero exit and the step exits 123.

Example failing run: https://github.com/FastLED/FastLED/actions/runs/24590168932/job/71909046151

Recent esp32c2 master runs:

  • 24589342694 — failure
  • 24587829530 — failure
  • 24572698337 — failure
  • 24558060503 — failure

Root cause

pyproject.toml pins platformio==6.1.18:

# pyproject.toml:10
"platformio==6.1.18",

The stable pioarduino-platform-espressif32 release now requires PlatformIO Core >= 6.1.19. Our pin is one patch release too old for the platform's current stable tag, and pio check bails before producing useful diagnostics.

Why this was skipped from the CI-triage batch

This is a dependency-version / CI-infrastructure issue rather than a bug introduced by a specific merge. Fixing it requires either:

  1. Bumping the platformio pin in pyproject.toml (and regenerating uv.lock) to 6.1.19 or >=6.1.19,<6.2.
  2. Pinning pioarduino-platform-espressif32 to a release compatible with 6.1.18.

Option (1) is the obvious fix, but needs a quick smoke-test across the ESP32 variants that all share ci/cppcheck.py — and we don't want to bundle that with today's unrelated code-path fixes.

Also likely affected

The esp32c2 job is just the one we caught; any other workflow running pio check through ci/ci-cppcheck.py against the pioarduino stable platform is at risk. Worth grepping for callers before merging the version bump.

Suggested next step

Open a follow-up PR that:

  • Bumps platformio==6.1.19 (or a range) in pyproject.toml
  • Regenerates uv.lock
  • Watches the next master CI run for regressions on adjacent ESP32 jobs

Activity

  1. added a commit that references this issue on Apr 18, 2026
    240f013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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