Repository navigation
ci(esp32dev_size): bump max_size 330000 → 700000 to unblock master (Closes #2608) - #2790
Conversation
…loses #2608) The check_esp32_size workflow has been red on master with `esp32dev size 635768 is greater than max size 330000` since at least 2026-05-30 (100% failure rate across 30+ runs). Per #2608 option A, bump both max_size and max_size_apa102 from 330000 to 700000 (~10% headroom over the observed 635 KB) so master goes green again. The 330 KB ceiling pre-dates the Channel API (~70 KB), pinning the size check to the platformio backend in #2605 (lost the ~169 KB eh_frame strip from fbuild), and subsequent Arduino-ESP32 framework growth. Follow-up tracked in #2608: once fbuild ships #297 (build_info.json) and #304 (framework .o archiving) so #2605 can be reverted, file a new issue to recalibrate this budget downward to the fbuild-backend size. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesESP32 CI Size Threshold
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Summary
Fixes the
esp32dev_binary_sizeworkflow that has been red on master withesp32dev size 635768 is greater than max size 330000for ~6 days (100% failure rate across 30+ runs). Per the recommendation in #2608, this picks option A: bump the budget to reflect platformio-backend reality, then recalibrate downward later when fbuild can be re-enabled.Closes #2608. Also clears one of the red badges tracked in #2779.
Why 330 KB no longer fits
Per #2608 root cause, three things piled on top of the 2025-08-15 ceiling (set when stock build was ~320 KB):
--backend platformioto dodge fbuild's missingbuild_info.json(fbuild#297) and link bloat (fbuild#304). PlatformIO does NOT strip.eh_frame, so we lose the ~169 KB savings that fbuild provided.Current stock Blink build via
--backend platformiois 635,768 B vs. the 330,000 B ceiling — a +305 KB delta (+93%).What this PR changes
.github/workflows/check_esp32_size.yml:```diff
```
700 KB = current 635 KB + ~10% headroom. Both budgets bumped equally because the build template runs both Blink and Apa102 size checks against the same backend; the framework cost dominates both.
Tradeoff
Per #2608: this loses regression-detection sensitivity until the fbuild backend can be restored (fbuild#297 + #304 + revert #2605), at which point a follow-up issue will recalibrate this budget downward to the actual fbuild-backend size.
Test plan
bash lint/bash testtouchpoint.esp32dev_binary_sizeCI run is the authoritative verification (the previous step was failing at 635 KB > 330 KB; with the bumped ceiling the same compile should pass).🤖 Generated with Claude Code
Summary by CodeRabbit