Skip to content

fix(ci): re-pin the ESP32-S3 bloat baseline to what master measures - #4234

Merged
zackees merged 1 commit into
masterfrom
fix/4233-bloat-baseline-master-drift
Sep 9, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/4233-bloat-baseline-master-drift

Conversation

@zackees

@zackees zackees commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

The gate is red on master

bloat regression esp32s3 fails on master itself:

esp32s3-bloat-regression: FAIL — total_flash=342,409 B exceeds baseline=342,407 B by 2 B.

(run 34380117291, master @ 3319e6b8)

So it fails on every open PR too, whatever the PR touches. #4232 changes only
test files and CI Python and fails the same 2 B.

Where the 2 B came from

Six PRs merged in one burst on 2026-09-09 between 16:57 and 16:59 UTC. Every
one of them passed the gate on its own branch:

PR measured baseline it ran against
#4204 342,393 B 342,393 (headroom 0)
#4206 342,391 B 342,393
#4213 342,391 B 342,393
#4220 342,391 B 342,393
#4221 342,391 B 342,393
#4227 342,407 B 342,407 — raised in that PR, headroom 0

Four of them carried a 2 B saving they never banked; #4227 raised the baseline
to 342,407 against a merge base that did not yet contain all of the others. The
combination lands at 342,409.

Nobody shipped a regression. This is the standing limit of measuring each PR
against its own merge base, and the gate has no post-merge correction step.

What this changes

The pinned value becomes 342,409 — what master actually measures. This is not a
ratchet release: a PR that adds flash on top of 342,409 B still fails, which is
what the gate is for. It records the truth about master instead of failing
every PR against a number no commit produces.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9

Summary by CodeRabbit

  • Tests
    • Updated the ESP32-S3 baseline size metric to reflect the current expected value.

The gate is red on master itself, so every open PR fails it -- including
#4232, which touches only test files and CI Python.

Master's own run measures total_flash=342,409 B against a pinned 342,407 B.
No single PR regressed; the drift is the sum of six changes merged in one
burst on 2026-09-09 16:57-16:59Z, each measured against a base that
predated the others:

  #4204 342,393 B  (baseline 342,393, headroom 0)
  #4206 342,391 B  (baseline 342,393, headroom 2)
  #4213 342,391 B
  #4220 342,391 B
  #4221 342,391 B
  #4227 342,407 B  (baseline 342,407 -- raised in that PR, headroom 0)

Every one of them passed. Their combination is 2 B over. That is the
known limit of measuring each PR against its own merge base, not a
regression anyone shipped, so re-pinning to the measured value records
what master is rather than hiding anything: a PR that adds flash on top
of 342,409 B still fails.

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

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Review Change StackReview 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: Advanced

Run ID: 89fc23d5-322f-4c99-9849-850349ff0f65

📥 Commits

Reviewing files that changed from the base of the PR and between 3319e6b and 448584a.

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

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


📝 Walkthrough

Walkthrough

The ESP32-S3 bloat baseline was updated from 342407 to 342409.

Changes

ESP32-S3 baseline

Layer / File(s) Summary
Update bloat baseline
tests/data/esp32s3_bloat_baseline.txt
The recorded baseline value changed from 342407 to 342409.

Priority: ⬇️ Low

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

Merge Risk: ⚪ Minimal · up to 44858

This updates the ESP32-S3 flash-size baseline by 2 B to match the current measured value while preserving failure behavior for future measurements above the new threshold. No current merge-blocking risk remains.

🚥 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 CI baseline update for the ESP32-S3 bloat measurement. It matches the pull request objective.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/4233-bloat-baseline-master-drift

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.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Sep 9, 2026
@zackees
zackees merged commit 233f4e3 into master Sep 9, 2026
7 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Sep 9, 2026
zackees added a commit that referenced this pull request Sep 9, 2026
…4247)

The baseline has been 342,409 since #4234 re-pinned it to what master
measured then. Master has since shrunk to 342,177 -- stable across the last
three runs on master (342,175 slightly earlier) -- so the pin is 232 B
stale and that much regression can now land without the gate noticing.

`tests/test_esp32s3_bloat_regression.py` says the baseline "ratchets DOWN as
each later Stage of #2886 lands measurable savings" and that "the intent is
that any PR which lands a saving lowers the file in the same change". Those
savings were not banked, so this does it.

It is not bookkeeping. The stale pin actively misreports work in flight:
#4200 measures 342,606, which is 429 B above master but only 197 B above the
baseline -- so the gate understates its cost by more than half, and the
decision about whether to accept that regression was being taken against the
wrong number.


Claude-Session: https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@zackees
zackees deleted the fix/4233-bloat-baseline-master-drift branch November 5, 2026 05:52
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