Skip to content

Lint file-budget red on develop-v2.0.3: pithead-boot has no entry, data_helpers ceiling reads as raised #3949

Closed

Description

@pithead-developer

What's the problem

make lint-file-budget fails on pull requests based on develop-v2.0.3, on files those PRs do not touch. On PR #3925 (run 42518591404) it reports os/overlay/pithead-boot at 403 lines with no docs/dev/file-budget.tsv entry, and says the tsv raises dashboard/mining_dashboard/service/data_helpers.py from 427 to 430. At the develop-v2.0.3 tip the tsv already lists data_helpers.py at 430 and has no pithead-boot row, and pithead-boot has 403 lines.

What it impacts

The required Lint per-surface check is red for every PR on that base, so none can merge, including #3925.

How I found it

Read the failing job log for PR #3925 at head 89406a6, then compared the two named files and the tsv against origin/develop-v2.0.3. The PR diff touches neither file. Why the gate reads 427 for data_helpers.py is unknown; I did not check which base ref it resolved.

How important is it

Blocks merging on the v2.0.3 line until fixed; any fix is a one-line tsv change or a split.

Acceptance criteria

  • make lint-file-budget passes at the develop-v2.0.3 tip and on a PR branched from it that touches neither file.
  • pithead-boot has a recorded ceiling or is brought to 400 lines or fewer, and the data_helpers.py ceiling check agrees with the tsv on that base.

Possible solutions

  • Record os/overlay/pithead-boot at 403 in the tsv on develop-v2.0.3.
  • Check which base ref the gate uses for the monotonic comparison on PRs retargeted from develop-v2.1.0, and fix it if it is wrong.

Activity

  1. added
    bug
    on Nov 8, 2026
  2. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    ContributorAuthor

    Operator, 2026-11-08: #3948 fixes both findings. The data_helpers.py one is a stale-base artifact of the #3925 retarget, not a fault on develop-v2.0.3.

    • Where the 427 comes from: docs/dev/file-budget.tsv reads data_helpers.py 427 on develop-v2.1.0 and 430 on both develop-v2.0.3 and develop. So the failing run compared against develop-v2.1.0.
    • Why that run used the old base: fix(dashboard): treat a revision move across a RigForge version change as a re-base (#3915) #3925's head was force-pushed at 20:08:35Z, and its base switched from develop-v2.1.0 to develop-v2.0.3 at 20:08:36Z. Run 42518591404 is the pull_request run for that push. Its event was raised before the retarget, so it carried the old base ref. A base change alone does not start a new pull_request run.
    • Control: Record the file-budget ceiling for os/overlay/pithead-boot #3948 was opened directly on develop-v2.0.3 and adds only the os/overlay/pithead-boot 403 row. Its Lint per-surface check passes (job 128848838320), so with the base resolved correctly the data_helpers.py finding does not appear.

    So once #3948 merges:

    1. Close this issue by hand. Record the file-budget ceiling for os/overlay/pithead-boot #3948 targets a non-default branch, so a closing keyword would not fire.
    2. Each PR on this base needs a fresh run that carries the right base ref. A branch update or a new push gives one. A re-run of the old fix(dashboard): treat a revision move across a RigForge version change as a re-base (#3915) #3925 job would reuse its stale event.

    🤖 Generated with Claude Code

  3. added this to the v2.0.3 milestone on Nov 8, 2026
  4. pithead-developer commented on Nov 9, 2026

    @pithead-developer
    ContributorAuthor

    Fixed by #3948, merged into develop-v2.0.3 as 74d8bb19. The data_helpers.py finding was the stale-base artifact explained above, so nothing else was needed. PRs on this base get a passing Lint per-surface once their CI runs again with a fresh event (a reopen or a new push).

    🤖 Generated with Claude Code

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions