Skip to content

chore(deps): bump fbuild 2.2.18 → 2.2.20 (#2946) - #2947

Merged
zackees merged 1 commit into
masterfrom
feat/2946-bump-fbuild
Jun 7, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/2946-bump-fbuild

Conversation

@zackees

@zackees zackees commented Jun 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Test plan

Closes #2946. Refs #2886.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Updated fbuild dependency from version 2.2.18 to 2.2.20.
  • Updates

    • Enhanced error messaging for the binary size analysis tool to direct users to relevant upgrade documentation instead of detailed rebuild instructions.

fbuild 2.2.18 (the previous pin) does not ship the `fbuild symbols`
subcommand that `ci/bloat.py` requires; `bash bloat <board>` fails
with "stale fbuild binary" and the Stage-6 regression gate (#2886)
cannot run.

fbuild 2.2.20 ships the subcommand:
  - feat(bloat): expose linker --cref back-references as `referenced_by`
    (FastLED/fbuild#459/#460)
  - feat(bloat): graphviz `.dot` back-reference graphs
    (FastLED/fbuild#463/#468)

Also drops the stale "wait for the 2.2.19 wheel" guidance from
`ci/bloat.py`'s error-path message — 2.2.20 superseded the never-
released 2.2.19 tag, and the recovery now is just `uv sync`.

Closes #2946. Refs #2886.

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

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Bump fbuild from 2.2.18 to 2.2.20 in pyproject.toml with updated version-context comments, and remove stale error guidance in ci/bloat.py that referenced the missing symbols subcommand in the old version.

Changes

fbuild 2.2.20 upgrade

Layer / File(s) Summary
fbuild version and context update
pyproject.toml
Dependency pin updated from fbuild==2.2.18 to fbuild==2.2.20 with new comment documenting 2.2.20 release features (bloat/symbols subcommand, graphviz support, cargo path fix) while preserving prior pin context.
Error message for bloat subcommand check
ci/bloat.py
SystemExit message in assert_fbuild_has_symbols removes outdated advice about rebuilding from main or waiting for 2.2.19 wheel; redirects to documentation upgrade path.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • FastLED/FastLED#2882: Prior fbuild version bump (2.2.17 → 2.2.18) in pyproject.toml.
  • FastLED/FastLED#2945: Companion fix bumping astral-sh/setup-uv from v3 to v6 to unblock the bloat-regression workflow setup step.
  • FastLED/FastLED#2886: Parent meta PR introducing Stage 6 bloat regression measurement infrastructure and gate.

Poem

🐰 A rabbit hops through fbuild's tale,
From 2.2.18, worn and pale—
To 2.2.20, swift and bright,
The bloat regression gate takes flight!
No more stale whispers, errors gone,
The symbols subcommand marches on. ✨

🚥 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 accurately summarizes the main change: bumping fbuild from 2.2.18 to 2.2.20, which is the primary objective of the pull request.
Linked Issues check ✅ Passed The PR addresses all coding requirements from #2946: bumps fbuild to 2.2.20, updates ci/bloat.py error message, and removes stale 2.2.19 guidance. #2945 is a separate companion fix already merged.
Out of Scope Changes check ✅ Passed All changes directly support the objectives: pyproject.toml dependency version update and ci/bloat.py error message improvement align with #2946 requirements.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

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

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/2946-bump-fbuild

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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci/bloat.py (1)

32-34: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Update the docstring to reflect the 2.2.20 release.

The docstring still says "sync to fbuild#main until the next release tag", but fbuild 2.2.20 is now released and pinned in pyproject.toml. This guidance is inconsistent with the updated error message (lines 158-163) which correctly tells users to run uv sync.

📝 Suggested docstring update
-    - The fbuild `symbols` subcommand requires fbuild >= 2.2.19. The
-      released 2.2.18 wheel does NOT carry it; sync to fbuild#main
-      until the next release tag (`#424` + `#427` merged after 2.2.18).
+    - The fbuild `symbols` subcommand requires fbuild >= 2.2.20. Earlier
+      releases (2.2.18 and prior) do not carry it. Run `uv sync` to
+      install the pinned release from pyproject.toml.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/bloat.py` around lines 32 - 34, Update the module docstring text that
mentions the fbuild `symbols` subcommand to reflect that fbuild 2.2.20 has been
released (it is now pinned in pyproject.toml) and remove the instruction to
"sync to fbuild#main until the next release tag"; instead align the docstring
with the error-message guidance that users should run `uv sync`. Locate the
docstring at the top of the file (search for the paragraph referencing the
fbuild `symbols` subcommand) and replace the outdated sentence with wording that
indicates fbuild >= 2.2.20 is required and directs users to run `uv sync` if
they encounter version issues.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@ci/bloat.py`:
- Around line 32-34: Update the module docstring text that mentions the fbuild
`symbols` subcommand to reflect that fbuild 2.2.20 has been released (it is now
pinned in pyproject.toml) and remove the instruction to "sync to fbuild#main
until the next release tag"; instead align the docstring with the error-message
guidance that users should run `uv sync`. Locate the docstring at the top of the
file (search for the paragraph referencing the fbuild `symbols` subcommand) and
replace the outdated sentence with wording that indicates fbuild >= 2.2.20 is
required and directs users to run `uv sync` if they encounter version issues.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8c8fd023-d566-46ac-982d-2d23f08b7f4e

📥 Commits

Reviewing files that changed from the base of the PR and between 56af093 and 7fd4030.

📒 Files selected for processing (2)
  • ci/bloat.py
  • pyproject.toml

@zackees
zackees merged commit 08f0b60 into master Jun 7, 2026
9 of 10 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 7, 2026
zackees added a commit that referenced this pull request Jun 7, 2026
…2949)

The Stage-6 regression gate (now operational after the
#2945 + #2947 infra fixes) measured total_flash=338,117 B on
master @ 56af093 with 1,845 B of headroom against the
previous pin. The drop is the cascade saving from #2943
(Channel::makeName release-gate) pulling out fl::to_string<i64>
and fl::string::operator+ machinery.

Lock in the saving so future regressions up to 1,845 B can't
slip past the gate.

Closes #2948. Refs #2886.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai coderabbitai Bot mentioned this pull request Jun 8, 2026
3 of 5 tasks
@zackees
zackees deleted the feat/2946-bump-fbuild branch August 21, 2026 19:15
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.

Bump fbuild 2.2.18 → 2.2.20 to restore and the regression gate

1 participant