Repository navigation
chore(deps): move the fbuild pin to 2.5.22 (fixes ESP32-S3 298MB SDK re-download) - #4153
Conversation
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
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe project updates the declared Changesfbuild dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to 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)
Full details: Docstring CoverageExplanation 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)
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. Comment |
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 underdio_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:
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.ymlstill has none, and only 10 of 118 workflows do.Notes
uv.lockis gitignored here, so this pin is the only committed half. Runuv lock && uv synclocally or you keep running 2.5.21.uv lock --checkpasses on this pin.🤖 Generated with Claude Code
https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9
Summary by CodeRabbit