Skip to content

chore(deps): move the fbuild pin to 2.5.22 (fixes ESP32-S3 298MB SDK re-download) - #4153

Merged
zackees merged 1 commit into
masterfrom
chore/fbuild-2.5.22
Sep 4, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/fbuild-2.5.22

Conversation

@zackees

@zackees zackees commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

Moves the pin to fbuild 2.5.22, which fixes the ESP32-S3 build slowness.

The bug

fbuild's SDK-completion check required <mcu>/lib/libfreertos.a. ESP32-S3 is the one MCU that does not ship it there — its FreeRTOS build is per flash/PSRAM mode, so the archive lives under dio_opi/, qio_qspi/, and so on. The check therefore never passed, and every ESP32-S3 build re-downloaded and re-extracted the 298 MB SDK-libs archive before reaching the fast path.

Measured on a bare S3 blink against the published wheel:

before after
no-op build 161.2s 0.3s
one-file fresh build 233.0s 7.1s

Fixed upstream in FastLED/fbuild#1411 / #1413, released in v2.5.22 (2026-09-03T21:17Z).

Why this matters more than the numbers suggest

The ESP32-S3 example sweep is sharded 8 ways, so CI was paying that 298 MB re-download eight times per run. On the run measured while preparing this PR, the eight shards took 25–43 minutes each — roughly 276 runner-minutes — against a pre-sharding whole-workflow runtime of 19m28s recorded in #3791. Every shard reported success, so nothing flagged it.

That sharding was itself the response to #3791 ("every esp32s3 run hangs in_progress and never completes"), which correctly guessed the cause was an unbounded wait. Sharding divided the symptom into eight pieces small enough to finish, but did not fix it and added no timeout-minutes — build_esp32s3.yml still has none, and only 10 of 118 workflows do.

Notes

  • uv.lock is gitignored here, so this pin is the only committed half. Run uv lock && uv sync locally or you keep running 2.5.21.
  • The first build after this lands pays a one-time framework-core-cache warm, because the cache key moves with the fbuild version.
  • uv lock --check passes on this pin.
  • Original commit by another session; rebased off an unmerged branch onto master so it stands alone.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9

Summary by CodeRabbit

  • Documentation
    • Added release-history notes for versions 2.5.21 and 2.5.22.

2.5.22 stops ESP32-S3 reinstalling its 298 MB SDK-libs archive on every
build. fbuild's completion check required `<mcu>/lib/libfreertos.a`, and
S3 is the one MCU that does not ship it there — its FreeRTOS build is per
flash/PSRAM mode, so the archive lives under dio_opi/, qio_qspi/, ... The
check never passed, so every build re-downloaded and re-extracted the SDK
before reaching the fast path.

Measured on a bare S3 blink against the published wheel:
  no-op build           161.2s -> 0.3s
  one-file fresh build  233.0s -> 7.1s

The first build after this lands pays a one-time framework-core-cache
warm, because the cache key moves with the fbuild version.

uv.lock is gitignored here, so this pin is the only committed half —
run `uv lock && uv sync` locally or you keep running 2.5.21.

FastLED/fbuild#1411, FastLED/fbuild#1413.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01CfdhKY6DmrRJ6mzSTzLU58
@coderabbitai

coderabbitai Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: f519a10c-ac83-4c75-a74b-e1ada6a1a6cc

📥 Commits

Reviewing files that changed from the base of the PR and between a899d95 and 207e3d8.

📒 Files selected for processing (1)
  • pyproject.toml

Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review.


📝 Walkthrough

Walkthrough

The project updates the declared fbuild dependency from 2.5.21 to 2.5.22 and adds release-history entries for versions 2.5.21 and 2.5.22.

Changes

fbuild dependency update

Layer / File(s) Summary
Dependency pin and release history
pyproject.toml
The declared fbuild dependency changes to 2.5.22. The project documents the 2.5.22 ESP32-S3 SDK archive fix and the 2.5.21 CI and firmware-artifact updates.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 207e3

This updates fbuild to 2.5.22 to prevent repeated ESP32-S3 SDK archive setup during builds. The declared pin and accompanying release history are aligned, with no current merge-blocking risk identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the dependency update to fbuild 2.5.22 and states the related ESP32-S3 SDK re-download fix, which matches the main changes and objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/fbuild-2.5.22

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.

@zackees
zackees merged commit ff322e2 into master Sep 4, 2026
1 of 31 checks passed
@zackees
zackees deleted the chore/fbuild-2.5.22 branch September 4, 2026 01:02
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant