Skip to content

fix(ci): let AutoResearch esp32s3 pass example filters without --no-filter #2690

Closed

Description

@zackees

Summary

bash compile esp32s3 --examples AutoResearch currently skips the AutoResearch sketch even though examples/AutoResearch/AutoResearch.ino lists esp32s3 in its @filter block.

Observed while trying to verify AutoResearch changes on an attached ESP32-S3:

bash compile esp32s3 --examples AutoResearch

Observed output:

SKIPPED 1 example(s) due to @filter constraints:
  - AutoResearch: doesn't match required platform=esp32s3,esp32c6,esp32p4,teensy41,teensy40
  Use --no-filter to override and attempt compilation anyway
No examples to compile after filtering

--no-filter should not be required for AutoResearch on esp32s3. It disables the normal example safety filter globally, which can mask genuine incompatibilities and makes the compile path different from the intended filtered workflow.

Likely cause

The AutoResearch filter currently uses platform: with board/environment-style names:

require:
  - platform: esp32s3,esp32c6,esp32p4,teensy41,teensy40

In ci/compiler/sketch_filter.py, the platform key appears to compare against board.platform_family, while board compares against board.board_name. That means platform: esp32s3 can fail when the board's platform family is esp32.

Proposed fix

  • Change the AutoResearch filter to use the correct key for board/environment names, likely board: if that is the intended semantics.
  • Or add/clarify a distinct filter key for board/env names if platform: should remain family-level.
  • Add regression coverage so AutoResearch is not skipped for esp32s3.

Acceptance criteria

  • bash compile esp32s3 --examples AutoResearch attempts to build AutoResearch without --no-filter.
  • AutoResearch docs/workflows do not need --no-filter for esp32s3.
  • Existing incompatible boards remain filtered out.
  • Tests cover AutoResearch filter behavior for at least esp32s3, and ideally esp32c6, esp32p4, teensy40, and teensy41 as well.

Activity

  1. added 2 commits that reference this issue on Jun 3, 2026
    fa79f3f
    65c95b2
  2. moved this from Triage to Done in FastLED Trackeron Jun 3, 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