Skip to content

chore(bloat): ratchet ESP32-S3 baseline 339,962 → 338,117 B (#2948) - #2949

Merged
zackees merged 1 commit into
masterfrom
chore/2948-ratchet-baseline-338117
Jun 7, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/2948-ratchet-baseline-338117

Conversation

@zackees

@zackees zackees commented Jun 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Test plan

  • Post-merge `bloat regression esp32s3` workflow on the master push run passes against the new 338,117 B pin.

Closes #2948. Refs #2886.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Tests
    • Updated test baseline data.

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 commented Jun 7, 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: Pro

Run ID: 91ede36a-004f-41a2-bbc6-4486069bcab1

📥 Commits

Reviewing files that changed from the base of the PR and between 08f0b60 and 149c6c8.

📒 Files selected for processing (1)
  • tests/data/esp32s3_bloat_baseline.txt

📝 Walkthrough

Walkthrough

This PR updates the ESP32-S3 bloat regression baseline test threshold from 339962 to 338117 bytes, locking in the 1,845 B cumulative saving from prior optimization PRs (#2943, #2945, #2947) and confirming the Stage-6 regression gate is operational.

Changes

ESP32-S3 Bloat Baseline Ratchet

Layer / File(s) Summary
Baseline value update
tests/data/esp32s3_bloat_baseline.txt
Single baseline numeric value updated from 339962 to 338117 to reflect the 1,845 B flash savings measured on master after PR #2943 and related changes landed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

  • #2899 — Previous baseline ratchet of the same file; both changes are part of the cumulative baseline-ratchet hygiene tracking.
  • #2903 — Related baseline ratchet of tests/data/esp32s3_bloat_baseline.txt for the same bloat-reduction effort.
  • #2886 — Parent meta-issue for cumulative bloat-reduction tracking and regression-gate hygiene.

Possibly related PRs

  • FastLED/FastLED#2930 — Previous baseline ratchet in the same file (340,832 → 339,962), part of the same cumulative optimization tracking.
  • FastLED/FastLED#2943 — The Channel::makeName release gate that produced the 1,845 B saving locked in by this baseline update.
  • FastLED/FastLED#2947 — The fbuild 2.2.20 bump that made the Stage-6 bloat regression gate operational.

Poem

A number shifts, a baseline gleams,
338,117 B of optimized dreams,
Savings cascade from makeName's flight,
Dead-strip machinery gone from sight,
The gate stands tall, regression-tight! 🐰✨

🚥 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: updating the ESP32-S3 bloat baseline from 339,962 to 338,117 bytes with a specific, clear reference to the file being modified.
Linked Issues check ✅ Passed The code changes fully satisfy issue #2948: the baseline value in tests/data/esp32s3_bloat_baseline.txt has been updated from 339962 to 338117, meeting all coding requirements and acceptance criteria.
Out of Scope Changes check ✅ Passed All changes are within scope—only the ESP32-S3 bloat baseline file is modified, which is the explicit deliverable of issue #2948 with no unrelated alterations.
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 chore/2948-ratchet-baseline-338117

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.

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.

Ratchet ESP32-S3 bloat baseline 339,962 → 338,117 B (#2943 makeName cascade)

1 participant