Skip to content

ci: ratchet the ESP32-S3 baseline down to what master now measures - #4247

Merged
zackees merged 1 commit into
masterfrom
ci/bank-esp32s3-baseline-saving
Sep 9, 2026
Merged

zackees merged 1 commit into
masterfrom
ci/bank-esp32s3-baseline-saving

Conversation

@zackees

@zackees zackees commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

The pin is 232 B stale

The baseline has been 342,409 since #4234 re-pinned it to what master
measured at the time. Master has since shrunk:

master run measured
96201532 (21:07) 342,177
51e864bc (20:39) 342,177
e0e09d1a (20:32) 342,177
011e8978 (19:46) 342,175

Stable, and 232 B below the pin. That much regression can currently 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; this banks them.

It is not bookkeeping

The stale pin actively misreports work in flight. #4200 measures 342,606:

against delta
current master (342,177) +429 B ← its real cost
stale baseline (342,409) +197 B ← what the gate says

So the gate understates that PR's cost by more than half, and the open question
of whether to accept the regression was being weighed against the wrong number.
I nearly reported the 197 B as a reduction from the previously measured 434 B —
it is not a reduction at all, it is the baseline drifting away from master.

Re-pinning down restores the property the ratchet exists for: a PR's reported
delta is its actual cost.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9

Summary by CodeRabbit

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

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.

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: d4842d3c-b091-47d7-a5d1-3ab6e4437d9d

📥 Commits

Reviewing files that changed from the base of the PR and between 9620153 and fc73a5e.

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

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


📝 Walkthrough

Walkthrough

The ESP32-S3 bloat baseline test value changed from 342409 to 342177.

Changes

ESP32-S3 baseline

Layer / File(s) Summary
Update ESP32-S3 bloat baseline
tests/data/esp32s3_bloat_baseline.txt
The recorded baseline changed from 342409 to 342177.

Priority: ⬇️ Low

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

Merge Risk: ⚪ Minimal · up to fc73a

The ESP32-S3 bloat threshold is tightened by 232 bytes to reflect current master measurements, improving regression reporting without changing runtime behavior.

🚥 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 and concisely describes the main change: lowering the ESP32-S3 CI baseline to match the current master measurement.
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 ci/bank-esp32s3-baseline-saving

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.

@zackees
zackees merged commit 642b8fd 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
zackees deleted the ci/bank-esp32s3-baseline-saving branch November 5, 2026 05:51
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