Repository navigation
Description
Summary
The ESP32-S3 Blink bloat-regression workflow has been red on every relevant master push since TM1812 RGBCCT encoder support merged in PR #3911. The feature added a new runtime Channels encoder case, but the PR did not update the pinned intentional-size ceiling as required by the gate policy.
Authoritative regression evidence
| Revision | Workflow | total_flash | Result |
|---|---|---|---|
| 5375147 (immediately before #3911) | run 32323257474 | 340,768 B | PASS, 6 B below the 340,774 B ceiling |
| 4c7c5df (#3911) | run 32340038066 | 341,051 B | FAIL, 277 B above the ceiling |
| ad40fd2 (current master at filing) | run 32400979867 | 341,048 B | FAIL, 274 B above the ceiling |
The first bad revision therefore adds 283 B relative to the immediately preceding same-workflow build.
Root cause
PR #3911 adds CLOCKLESS_ENCODER_TM1812_RGBWW to the runtime ClocklessEncoder enum and adds an always-available branch in Channel::showPixels that calls PixelIterator::writeTM1812RGBWW. The Blink measurement links the Channels runtime dispatch, so support for the new public timing selector has an intentional non-zero flash cost even when Blink does not choose TM1812.
Relevant source:
- src/fl/channels/channel.cpp.hpp: TM1812 case in Channel::showPixels
- src/fl/chipsets/encoders/pixel_iterator.h: writeTM1812RGBWW
- src/fl/chipsets/encoders/tm1812.h: frame encoder
- src/fl/chipsets/led_timing.h: public TIMING_TM1812_RGBWW_800KHZ selector
Local diagnostic note
A local bash bloat esp32s3 --build comparison was attempted, but the Windows PlatformIO path waited without starting a compiler and hit the 10-minute wrapper timeout. No local size result is claimed. The consecutive GitHub Actions runs above are the authoritative same-workflow evidence.
Decision
Treat the 283 B as intentional capability growth under the gate's documented policy. Raise tests/data/esp32s3_bloat_baseline.txt from 340774 to 341051, the measured size of the first bad feature revision. Do not add extra slack and do not weaken/disable the workflow.
The larger <=280 KB optimization objective remains separately deferred in #2886; this issue only restores truthful regression enforcement after a measured feature addition.
Acceptance criteria
- Pinned baseline is exactly 341051 B.
- The current master-equivalent report (341048 B at filing) passes with 3 B headroom.
- tests/test_esp32s3_bloat_regression.py continues to reject values above the new ceiling.
- bloat regression esp32s3 is green on master after merge.
Links
- Introducing PR: feat(tm1812): add RGBCCT frame encoder #3911
- Last green run: https://github.com/FastLED/FastLED/actions/runs/32323257474
- First red run: https://github.com/FastLED/FastLED/actions/runs/32340038066
- Current red run: https://github.com/FastLED/FastLED/actions/runs/32400979867
- Meta context: Meta: ESP32-S3 Blink bloat reduction (file:line concrete plan) — supersedes #2885 #2886
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
test: accept TM1812 encoder flash cost (#3945)
fix(ci): settle the bloat ratchet, and make it notice its own slack (#…