Skip to content

docs(ci): board_partitions is documented 'Reserved for future use' but 8 boards set it #3985

Closed

Description

@zackees

Summary

ci/boards.py:74 documents board_partitions as "Reserved for future use", but 8 boards set it on origin/master and the emitter consumes it at line 626. The comment is stale and actively misleading.

Evidence

# ci/boards.py:74
board_partitions: str | None = None  # Reserved for future use.

Yet:

782:    board_partitions="huge_app.csv",
890:    board_partitions="huge_app.csv",
948:    board_partitions="huge_app.csv",  # Default partition only allows 1.25MB app; Validation needs ~1.6MB
955:    board_partitions="huge_app.csv",
970:    board_partitions="huge_app.csv",
    ... 8 total

and it is emitted into the generated ini:

# ci/boards.py:626-627
if self.board_partitions:
    lines.append(f"board_build.partitions = {self.board_partitions}")

Impact

Low severity but real: this comment caused a concrete factual error during design work on the filesystem-image feature (FastLED/fbuild#1358), where the field was reported as unused based on reading the comment rather than the call sites.

Fix

Replace the comment with a description of what the field does, e.g.:

board_partitions: str | None = None  # ESP32 partition CSV name, e.g. "huge_app.csv"; emitted as board_build.partitions

Note on the sibling field

board_build_filesystem_size (line 64) is genuinely unset by every board today, though it is wired into both emitters (lines 218-220, 571-573). It becomes relevant with FastLED/fbuild#1358. Worth a comment saying that rather than leaving it bare.

Activity

  1. zackees commented on Aug 22, 2026

    @zackees
    MemberAuthor

    Tracked in the meta issue: #3986 — remote assets: hosting, build-time resolution, and on-device filesystem deployment.

  2. added a commit that references this issue on Aug 23, 2026
    daea819
  3. moved this from Triage to Done in FastLED Trackeron Aug 23, 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