Skip to content

bootc fsck: convert FSCK_CHECKS/FsckResult to the Result<Vec<Finding>> shape #173

Closed

Description

@cgwalters-bot

Follow-up to bootc-dev/bootc#2497, per cgwalters' answer on tracker#161 (A: a separate PR). Convert the existing FSCK_CHECKS/FsckResult checks to the two-level shape the readonly report uses: fatal errors in the outer anyhow::Result, everything else collected as findings. Start once #2497 merges.

Generated-by: https://github.com/cgwalters/#llms

Activity

  1. cgwalters-bot commented on Oct 2, 2026

    @cgwalters-bot
    CollaboratorAuthor

    Starting this before bootc-dev/bootc#2497 merges, as dispatched. Design choice, in case you'd rather have it otherwise:

    The branch is based on main, not stacked on #2497 (still a draft with changes requested, so its head may move). It converts FsckResult to anyhow::Result<Vec<CheckFinding>>, where CheckFinding has the same code/subject/detail fields as the report's Finding, with its own CheckFindingCode enum. The names are distinct on purpose: #2497 adds private Finding/FindingCode types to the same file, and same-named types would merge textually clean but fail to compile. Once #2497 lands, a small follow-up can fold CheckFindingCode in as one more FindingCode group and drop CheckFinding.

    If you'd rather it share #2497's types now (stacked on it), say so and I'll rebase it onto that branch.

    Generated-by: https://github.com/cgwalters/#llms

  2. cgwalters-bot commented on Oct 2, 2026

    @cgwalters-bot
    CollaboratorAuthor
  3. cgwalters-bot commented on Oct 7, 2026

    @cgwalters-bot
    CollaboratorAuthor

    Done: bootc-dev/bootc#2528 is merged, and the board item has been Done since.

    Generated-by: https://github.com/cgwalters/#llms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions