Skip to content

docs(bloat): record #4765 no-Serial attiny85 Blink scorecard - #4969

Merged
zackees merged 1 commit into
masterfrom
grind/4765-attiny85-no-serial-blink-footprint
Oct 31, 2026
Merged

zackees merged 1 commit into
masterfrom
grind/4765-attiny85-no-serial-blink-footprint

Conversation

@zackees

@zackees zackees commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Closes #4765

Adds the attiny85 no-Serial Blink scorecard paragraph to agents/docs/binary-size-analysis.md (docs only).

Verified on this branch:

  • bash bloat attiny85 --build --budget tests/data/attiny85_bloat_budget.json: budget passed, image flash 2460 B, attributed RAM 136 B (linker RAM 120 B), no Serial symbols in the report.
  • ./lint: green.
  • ./test --cpp: failed locally on a zccache daemon PCH alias-validation error (host toolchain, -Wunused-command-line-argument on the bundled LLD rpath). The diff touches no C++.

Summary by CodeRabbit

  • Documentation
    • Added an ATtiny85 Blink scorecard with flash and RAM measurements, build configuration, and regression-check guidance.
    • Clarified that measurements from Serial-enabled builds should not be reused.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between e78d66b and 73c32f0.

Files selected for processing: 1
  • agents/docs/binary-size-analysis.md

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

Walkthrough

The binary-size analysis adds an ATtiny85 no-Serial Blink scorecard. It records flash and attributed RAM measurements, identifies versions without recorded no-Serial measurements, and names the budget file and command used for regression checks.

Changes: ATtiny85 no-Serial scorecard

Layer / File(s) Summary
Measurement record and regression checks
agents/docs/binary-size-analysis.md
The scorecard records flash and attributed RAM measurements after #4788 and its follow-up. It notes that no-Serial measurements for 3.10.3 and 3.10.6 are not recorded, warns against reusing Serial-enabled measurements, and identifies the budget file and command used for regression checks.

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

Change: Other

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#4968 — Both PRs document board-specific no-Serial AVR Blink scorecards and their regression budgets.
Merge Risk: Minimal · up to 73c32

The scorecard documents measurements and their limitations without changing runtime behavior. No actionable merge-blocking risk is identified.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Linked issue #4765 is a measurement and documentation child of #4760. Its coding requirements are conditional or validation items: optional optimization with RED/GREEN tests, preservation of LED, Seri… Provide the PR diff for agents/docs/binary-size-analysis.md and tests/data/attiny85_bloat_budget.json, or confirm the changed blob content, so budget ratcheting and absence of raised ceilings can be checked. Provide the attiny85 no-Serial m…
Passed Passed checks: 4 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 identifies the documentation change: recording the no-Serial ATtiny85 Blink scorecard for issue #4765.
Out of Scope Changes check Passed The PR adds one scorecard paragraph to agents/docs/binary-size-analysis.md, as stated in the PR description and the commit subject "docs(bloat): record #4765 no-Serial attiny85 Blink scorecard (Refs #…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Out of Scope Changes check

Explanation

The PR adds one scorecard paragraph to agents/docs/binary-size-analysis.md, as stated in the PR description and the commit subject "docs(bloat): record #4765 no-Serial attiny85 Blink scorecard (Refs #4765)". The paragraph covers the #4765 attiny85 Blink scorecard. It also cites #4788 and its follow-up, which are prior context needed for the comparison. Its numbers match the PR description: 2460 B image flash and 136 B attributed RAM. The paragraph also gives the budget file and the command used for the regression check. No unrelated code or configuration change is described. The diff could not be read directly, so the file-level scope relies on the PR description, the commit subject, and the head file content.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Full details: Linked Issues check

Explanation

Linked issue #4765 is a measurement and documentation child of #4760. Its coding requirements are conditional or validation items: optional optimization with RED/GREEN tests, preservation of LED, Serial, network and driver behavior, relevant local tests and board builds, and budget ratcheting without raised ceilings.

Evidence at head: agents/docs/binary-size-analysis.md contains the new #4765 paragraph. It records attiny85 no-Serial Blink on fbuild 2.5.37, with image flash and attributed RAM of 2574/160 after #4788 and 2460/136 after its follow-up. These values match the PR description. The optimizations were landed by earlier commits and are cited in the doc, so this PR does not need to reimplement them.

Gaps:

  • The 3.10.3 and 3.10.6 attiny85 numbers are not recorded with the no-Serial sketch. The paragraph says so explicitly. The issue requires matched no-Serial measurements for every version. Most of this is measurement work, which is non-coding, but it is a stated requirement of the issue.
  • The paragraph does not freeze the master SHA or the 3.10.3 and 3.10.6 SHAs.
  • The PR diff could not be read. The repository changed-blob data is missing from the checkout. Therefore it is not verified whether tests/data/attiny85_bloat_budget.json was ratcheted to 2460/136 or whether any ceiling was raised. The budget pass is reported only in the PR description.
  • ./test --cpp failed locally on a host toolchain error. The PR states that no C++ changed. Without the diff, this claim cannot be checked.
  • The publication on #4760 and the child closure are not evidenced. These are non-coding.

Resolution

Provide the PR diff for agents/docs/binary-size-analysis.md and tests/data/attiny85_bloat_budget.json, or confirm the changed blob content, so budget ratcheting and absence of raised ceilings can be checked. Provide the attiny85 no-Serial measurement results for 3.10.3 and 3.10.6 with their SHAs, and the master SHA used, or confirm that these are tracked as separate non-coding work on #4765. Provide a passing local test result for the affected production path, or evidence that no production-path test applies, to close the validation item.

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@zackees
zackees merged commit d1e6d89 into master Oct 31, 2026
121 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Oct 31, 2026
@zackees
zackees deleted the grind/4765-attiny85-no-serial-blink-footprint branch November 5, 2026 05:53
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.

chore(memory): redo attiny85 baseline with Blink without Serial

1 participant