Skip to content

broken build: check_teensy41_size — stale Apa102 budget ~60KB below current real size #2802

Description

@zackees

Scope narrowed: the original issue covered both `check_teensy41_size` and `esp32dev_binary_size`. The esp32dev portion is being tracked separately in #2608 (PR #2790). This issue now covers only the teensy41 piece.

Summary

`check_teensy41_size` (`.github/workflows/check_teensy41_size.yml`) is red on master because its Apa102 budget is smaller than the current real binary size — set long ago and the library has legitimately grown past it. CI has been red on this for ≥4 days.

Latest run: https://github.com/FastLED/FastLED/actions/runs/27006203252

Next group from the README badge sweep after AVR (#2780), STM32 GIGA (#2785), Apollo3 (#2788), RP2040 (#2793), AVR8JS (#2800).

Failure (current vs. budget)

Example Current bytes Budget Over
Blink 57,340 120,000 ✅ ok
Apa102 148,476 88,000 +60,476 (+69%)

Proposed budget bump

This is a pragmatic budget adjustment to unblock CI — it does not investigate or fix any underlying bloat. The right "real" fix (per the symbol-analysis output in the failing run, e.g. `fl::ifstream` / `fl::posix_filebuf` / `fl::strerror` being linked into Apa102) is a follow-up.

Workflow Field Old New Rationale
`check_teensy41_size.yml` `max_size_apa102` 88,000 165,000 covers current 148,476 + ~11% headroom

The teensy41 `max_size: 120000` (Blink) is not changed — Blink is well within at 57,340 bytes.

Why this is the right framing

  • A budget that has not matched reality for 4+ days does not catch regressions; it only blocks unrelated commits.
  • The right granular budget should be set by a maintainer after deciding whether the library's current size is intentional growth or accidental bloat.
  • Bumping with explicit "needs follow-up" notes preserves the maintainer's freedom to revisit, while giving every unrelated PR a working CI signal.

Follow-up work (separate issue)

Investigate why `Apa102` on teensy41 pulls in `fl::ifstream`, `fl::posix_filebuf`, `fl::strerror`, `fl::detail::not_null_assert_failed`, `fl::AsyncLogQueue`, and `fl::AsyncLogger` — none of which a "set a few APA102 LEDs" sketch should need. The symbol-analysis dump from the failing run is the starting point.

Acceptance criteria

  • `check_teensy41_size` workflow goes green on master
  • Bumped budget lands with explicit follow-up TODO comment in the workflow file

Related


Originally filed via `/loop` README badge sweep; narrowed to teensy41-only after maintainer feedback.

Activity

  1. changed the title [-]broken builds: check_teensy41_size + esp32dev_binary_size — stale size budgets ~60-300KB below current real size[/-] [+]broken build: check_teensy41_size — stale Apa102 budget ~60KB below current real size[/+] on Jun 5, 2026
  2. added a commit that references this issue on Jun 5, 2026
    ab67e3f
  3. moved this from Triage to Done in FastLED Trackeron Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions