Skip to content

fix(ci): point esp32dev_i2s workflow at the renamed DriverTest example - #2280

Merged
zackees merged 1 commit into
masterfrom
fix-i2s-workflow-example-path
Apr 18, 2026
Merged

zackees merged 1 commit into
masterfrom
fix-i2s-workflow-example-path

Conversation

@zackees

@zackees zackees commented Apr 17, 2026 •

Copy link
Copy Markdown
Member

Summary

`SpecialDrivers/ESP/I2S/EspI2SDemo` no longer exists — the example was consolidated into `SpecialDrivers/ESP/DriverTest`. Two workflow files still referenced the old path, causing the esp32_i2s_ws2812 build to abort with `ValueError: Example not found: SpecialDrivers/ESP/I2S/EspI2SDemo`.

Updated:

  • `.github/workflows/build_esp32_i2s_ws2812.yml`
  • `.github/workflows/build.yml` (the mirror entry)

Failing run: https://github.com/FastLED/FastLED/actions/runs/24590835568

Test plan

  • esp32_i2s_ws2812 workflow passes
  • DriverTest.ino compiles under esp32dev_i2s platform variant

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated build workflow configurations to verify different example sets during CI/CD pipeline execution.

The SpecialDrivers/ESP/I2S/EspI2SDemo path no longer exists; the example
was consolidated into SpecialDrivers/ESP/DriverTest. The esp32_i2s_ws2812
workflow (and the build.yml entry that mirrors it) still referenced the
old path, causing ci-compile.py to abort with
"ValueError: Example not found: SpecialDrivers/ESP/I2S/EspI2SDemo".

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 17, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

GitHub Actions workflow files updated to redirect CI build pipelines from compiling the EspI2SDemo example to the DriverTest example. The changes apply consistently across two related build workflows without modifying job structure or other inputs.

Changes

Cohort / File(s) Summary
CI Workflow Example Updates
.github/workflows/build.yml, .github/workflows/build_esp32_i2s_ws2812.yml
Both workflows updated to change the PlatformIO --examples argument from SpecialDrivers/ESP/I2S/EspI2SDemo to SpecialDrivers/ESP/DriverTest, shifting which example is compiled during the build verification step.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 From I2S to DriverTest we hop,
New examples make our tests stop,
Configuration paths take a turn,
Different drivers now we learn! 🔧✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating CI workflows to reference the renamed DriverTest example instead of the non-existent EspI2SDemo path.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-i2s-workflow-example-path

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/build_esp32_i2s_ws2812.yml:
- Line 43: README.md still references the removed example path "EspI2SDemo";
update that reference to the new example path
"SpecialDrivers/ESP/DriverTest/DriverTest.ino" so documentation matches the
repository changes—search for occurrences of "EspI2SDemo" (around the README
section that lists examples) and replace them with
"SpecialDrivers/ESP/DriverTest/DriverTest.ino", preserving surrounding
formatting and links.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2f69def8-6a19-48cd-97a4-696275d0e84a

📥 Commits

Reviewing files that changed from the base of the PR and between 057890d and 319e803.

📒 Files selected for processing (2)
  • .github/workflows/build.yml
  • .github/workflows/build_esp32_i2s_ws2812.yml

uses: ./.github/workflows/build_template.yml
with:
args: esp32dev_i2s --examples SpecialDrivers/ESP/I2S/EspI2SDemo
args: esp32dev_i2s --examples SpecialDrivers/ESP/DriverTest

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify the new example path exists and check for any remaining references to the old path

# Check if the new example file exists
echo "=== Checking if new example exists ==="
fd -t f "DriverTest.ino" examples/SpecialDrivers/ESP/DriverTest/

# Check if the old example path still exists (should not)
echo -e "\n=== Checking if old example path still exists (should be empty) ==="
fd -t d "EspI2SDemo" examples/

# Search for any remaining references to the old path
echo -e "\n=== Searching for remaining references to old path ==="
rg -n "SpecialDrivers/ESP/I2S/EspI2SDemo" --type yaml --type py --type cpp --type md

Repository: FastLED/FastLED

Length of output: 407


Update README.md to reference the new example path.

The new example file at SpecialDrivers/ESP/DriverTest/DriverTest.ino exists and the old EspI2SDemo path has been removed. However, README.md line 519 still references the old path and should be updated to point to the new example location for consistency.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/build_esp32_i2s_ws2812.yml at line 43, README.md still
references the removed example path "EspI2SDemo"; update that reference to the
new example path "SpecialDrivers/ESP/DriverTest/DriverTest.ino" so documentation
matches the repository changes—search for occurrences of "EspI2SDemo" (around
the README section that lists examples) and replace them with
"SpecialDrivers/ESP/DriverTest/DriverTest.ino", preserving surrounding
formatting and links.

@zackees
zackees merged commit b6c2501 into master Apr 18, 2026
5 checks passed
@zackees
zackees deleted the fix-i2s-workflow-example-path branch August 30, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant