Skip to content

ci(avr): permanent AVR runtime regression check for 16-bit-int bugs #5324

Closed

Description

@zackees

Host builds use a 32-bit int, so they can't catch AVR 16-bit-int bugs. Recent examples are #5301, #5303 and #5292. The int_literal_wide_shift lint rule (PR #5308) only catches literal shifts. A non-literal int/u8/u16 shifted by 16 or more still slips through, because it gets promoted to a 16-bit int on AVR.

Proposal: a permanent AVR runtime regression check in CI. Run the drawPolygon scene and kernel harness, and other math-heavy paths, under simavr or avr8js (avr8js already runs uno_avr8js_test), and compare the per-scene hashes against host output. A prototype harness that matched host on all 597 lines exists from the #5301 work.

Activity

  1. added
    sanitized
    on Nov 21, 2026
  2. moved this from Triage to Done in FastLED Trackeron Nov 21, 2026
  3. added a commit that references this issue on Nov 21, 2026
    d0e0517
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

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions