Repository navigation
Description
Goal
Bump `fbuild==2.2.18` → `fbuild==2.2.20` in `pyproject.toml` so `bash bloat esp32s3` (and therefore the Stage-6 bloat-regression CI gate from #2886) can actually run.
Parent: #2886 — measurement infrastructure.
Symptom (post-#2945)
PR #2945 bumped `astral-sh/setup-uv` from v3 → v6 and unstuck the bloat-regression workflow's setup step. The workflow now reaches the actual test step and fails there with:
```
esp32s3-bloat-regression: invoking `bash bloat esp32s3 --build --no-summary` ...
Bloat: `fbuild symbols --help` returned but doesn't mention the symbols/bloat subcommand. Likely a stale fbuild binary.
esp32s3-bloat-regression: `bash bloat esp32s3` exited 1 — cannot enforce regression gate.
```
Root cause
`pyproject.toml:41` pins `fbuild==2.2.18`. `ci/bloat.py:142-171` (`assert_fbuild_has_symbols`) checks that `fbuild symbols --help` mentions the subcommand and rejects with the message above when it doesn't.
`ci/bloat.py:158-162` even documents the cause directly:
```
Bloat: `fbuild symbols` rejected. fbuild 2.2.18 (the released
wheel) does NOT carry the symbols subcommand — it was merged
to fbuild#main after the 2.2.18 tag. Rebuild fbuild from main
(or wait for the 2.2.19 wheel) and drop the binary into
.venv/Scripts/fbuild.exe.
```
The 2.2.19 wheel was superseded by 2.2.20 (currently the latest on PyPI). The 2.2.20 GitHub release notes confirm the bloat/symbols subcommand is present:
- `feat(bloat): expose linker --cref back-references as referenced_by (WS2811S chipset Support #459)` by @zackees in fbuild#460
- `feat(bloat): graphviz `.dot` back-reference graphs (SK6812 status? #463)` by @zackees in fbuild#468
(There is no v2.2.19 GitHub release tag — fbuild jumped from v2.2.18 → v2.2.20 directly.)
Deliverable
`pyproject.toml` — bump fbuild pin
```diff
- "fbuild==2.2.18",
- "fbuild==2.2.20",
```
Update the pin comment to reflect the 2.2.20 contents:
- `feat(bloat): expose linker --cref back-references as referenced_by` (fbuild#459/FastLED Instability on ESP8266 (NodeMCU 1.0) + 12v WS2811 LEDs #460) — this is what unblocks `ci/bloat.py`.
- `feat(bloat): graphviz `.dot` back-reference graphs` (fbuild#463/ws2818 led strip programmable is same with ws2811? #468).
- `fix(setup.py): locate cargo binary under target//release/` (fbuild#461).
- Stop-hook + pre-push hook polish (fbuild#462/- added a few methods to accept an offset parameter #464/Change WS2812 timings to include the 300us WS2813 wait frame #465/Support ATtinyX41 boards. #467/APA102 global brightness #469).
Preserve the prior pin comments (2.2.15-2.2.18) for context.
`uv.lock` — regenerate
`uv lock` (or equivalent) so the lock matches the new constraint.
`ci/bloat.py:158-162` — stale guidance
Remove the "rebuild fbuild from main / wait for 2.2.19 wheel" remark from the error message; it's no longer accurate now that 2.2.20 ships the subcommand.
Acceptance
- `bash bloat esp32s3 --build --no-summary` runs to completion locally (produces `.build/symbols/esp32s3/report.json` + `report.md`).
- `uv run python tests/test_esp32s3_bloat_regression.py` passes locally (flash ≤ pinned baseline 339,962 B).
- On this PR's bloat-regression run: the workflow reaches the gate step and reports a real verdict (pass or honest fail with a measured flash number — not the "stale fbuild" error).
- `bash lint` passes.
Out of scope
- Pinning fbuild more loosely (e.g. `>=2.2.20,<2.3`). Keeping the exact-version pin matches the existing convention.
- Ratcheting `tests/data/esp32s3_bloat_baseline.txt`. If the post-merge run reveals a drift, file a follow-up.
Related
- Meta: ESP32-S3 Blink bloat reduction (file:line concrete plan) — supersedes #2885 #2886 — parent meta (Stage 6 verification gate).
- ci(esp32): bloat regression gate with ratcheting baseline (#2886 Stage 6) #2900 — original Stage 6 PR that shipped the workflow.
- Bloat regression CI gate broken since shipping (setup-uv@v3 cache error) #2944 / ci(bloat): bump bloat-regression setup-uv from v3 to v6 (#2944) #2945 — companion fix (setup-uv@v6 bump) just merged.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
chore(deps): bump fbuild 2.2.18 → 2.2.20 (FastLED#2946) (FastLED#2947)