Skip to content

fix(ci): skip oversized analog example on ATmega8 - #3943

Merged
zackees merged 1 commit into
masterfrom
fix/2779-atmega8a-analog-output
Aug 20, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/2779-atmega8a-analog-output

Conversation

@zackees

@zackees zackees commented Aug 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • exclude AnalogOutput from atmega8-class boards whose 8 KiB flash cannot hold the 21 KiB controller example
  • preserve AnalogOutput on Uno and other capable AVR boards
  • add focused ATmega8A/Uno filter regression

Validation

  • focused pytest regression: RED before the filter, GREEN after
  • bash compile atmega8a AnalogOutput (filtered successfully)
  • bash compile uno AnalogOutput (21.19 KiB, succeeds)
  • bash lint examples/AnalogOutput/AnalogOutput.ino ci/tests/test_sketch_filter.py
  • clud-review clean

Closes #2779

Summary by CodeRabbit

  • New Features
    • Restricted the AnalogOutput example to compatible boards, excluding ATmega8A-based boards.
  • Tests
    • Added automated coverage to verify that the example is skipped for ATmega8A and remains available for UNO boards.

@zackees
zackees merged commit ad40fd2 into master Aug 20, 2026
9 of 17 checks passed
@zackees
zackees deleted the fix/2779-atmega8a-analog-output branch August 20, 2026 18:02
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Aug 20, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 20, 2026
@coderabbitai

coderabbitai Bot commented Aug 20, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 63c008a6-bca9-4a3b-995a-0227fece7adb

📥 Commits

Reviewing files that changed from the base of the PR and between 4564aaa and e4ee117.

📒 Files selected for processing (2)
  • ci/tests/test_sketch_filter.py
  • examples/AnalogOutput/AnalogOutput.ino

📝 Walkthrough

Walkthrough

The AnalogOutput example now excludes boards in the atmega8* family. A CI test verifies that ATmega8A is skipped and UNO remains eligible.

Changes

AnalogOutput filter selection

Layer / File(s) Summary
Filter directive and regression validation
examples/AnalogOutput/AnalogOutput.ino, ci/tests/test_sketch_filter.py
The example adds a @filter directive that excludes atmega8* boards. The test validates ATmega8A skip behavior, UNO eligibility, and the skip reason.

Estimated code review effort: 2 (Simple) | ~10 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/2779-atmega8a-analog-output

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.

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.

broken builds: 12 README-listed CI workflows failing on master (AVR watchdog regression + 4 unrelated)

1 participant