Skip to content

chore: resolve open CodeRabbit thread on PR #5311 (scratch warning hook placement) #5333

Closed

Description

@zackees

PR #5311 merged with one CodeRabbit thread on src/fl/stl/scratch.h still unresolved. It asked to move the scratch warning hook into an .impl.hpp, but the repo's lint forbids including an .impl.hpp from a header, and the thread explains this.

To do: a maintainer should review and resolve the thread, or pick another placement.

Activity

  1. added
    sanitized
    on Nov 21, 2026
  2. zackees commented on Nov 21, 2026

    @zackees
    MemberAuthor

    Resolved the thread (r4641686509) on #5311. Its suggestion was to move the scratch_exhausted hook into a .impl.hpp included from scratch.h. That fails three repo lint rules: ImplHppIncludesChecker, IncludeAfterNamespaceChecker and NamespaceIncludesChecker. The other option, a .cpp.hpp, would need a unity-router registration, which the PR deliberately dropped. So the hook stays a single FL_NO_INLINE inline definition in scratch.h, as explained in the thread reply. Reopen and unresolve if you'd prefer a different placement.

  3. moved this from Triage to Done in FastLED Trackeron Nov 21, 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

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions