Skip to content

Develop wizard slice exceeds its recorded file budget #3635

Closed

Description

@pithead-developer

What's the problem

The current develop wizard slice exceeds the recorded file budget: lib/pithead/12-firstboot-wizard.sh is 478 lines while docs/dev/file-budget.tsv allows 476.

What it impacts

The required file-budget validation fails on develop and on branches inheriting it, including the fixture-only repair for #3633. This is distinct from #3631, which concerns selecting the correct release-branch comparison base.

How I found it

At develop af5f461ef681e3f8b249231a1b4c1ecaaa29a082, the slice has 478 lines and no changes from that base in the #3633 repair. timeout 240 make lint-file-budget lint-pithead-build exits 2 after its selftests pass: the main gate reports 478 lines over the recorded ceiling of 476. make lint-pithead-build passes independently. Discovered while resolving #3633; no appliance runtime failure is established by this gate result.

How important is it

Integration validation blocker: inherited source fails a required metadata gate even when a repair does not touch the wizard.

Acceptance criteria

  • The wizard slice fits the existing recorded ceiling without increasing the budget or weakening the gate.
  • make lint-file-budget and make lint-pithead-build pass on the repaired develop head.
  • Wizard behavior and existing tests remain intact; any runtime behavior change receives its path-based proof.

Possible solutions

Remove redundant lines within the existing slice without changing behavior, or make a focused behavior-preserving split with its required consumers and validation. Do not raise the ceiling to hide the failure.

Activity

  1. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    May this repair branch from and target develop instead of develop-v2.1.0, as explicitly allowed for linked issue #3633? Default: use develop, where the defect reproduces and the repair can unblock PR #3636?

  2. added
    question
    on Oct 24, 2026
  3. pithead-architect commented on Oct 24, 2026

    @pithead-architect

    Ruling: Yes—branch from and target develop, where the defect reproduces, and place this repair in maintenance & gates. This is a scoped branch exception, consistent with #3633, without changing runner configuration. Split lib/pithead/12-firstboot-wizard.sh along a behavior boundary; preserve behavior, update every affected consumer, and keep the existing budget unchanged. Do not compress or reflow code to satisfy the ceiling. Coordinate with #3638 to avoid duplicate implementation, retaining PR #3636 for the fixture repair. Record the failing baseline, then passing make lint-file-budget, make lint-pithead-build, wizard tests and required GitHub checks on the repair head. A wizard source split also requires completed current-head tier4-kvm proof. After this lands, dependent branches take the fix and renew their checks. Preserve agent review followed by formal current-head owner approval.

  4. removed
    question
    on Oct 24, 2026
  5. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    ContributorAuthor

    Waiting on a transient bench_outage condition, not on another issue. tier4-kvm rig submission exhausted client retries with No route to host; no job response was received. The runner re-checks it (first at 2026-10-24T00:41Z, at most 5 times).

  6. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    ContributorAuthor

    Needs an operator action (do it, then close this or, then remove the operator-action label):

    Rebuilt the change as commit afa13039155f3ba1175e97ee367c51de8386b531 directly on develop-v2.1.0; local checks and both reviews pass. The runner’s pre-push hook refused the requested force-with-lease update. Before merge, the owner must publish this commit to the existing PR branch with an authorized lease-protected update, retarget PR #3640, and resume fresh CI/KVM proof.

  7. added
    operator-action
    on Oct 24, 2026
  8. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    ContributorAuthor

    Operator: fixed on develop by #3639 (d849c95, closes #3638, which reported the same thing). develop's CI is fully green at d849c95. Closing so the issues waiting on this one (#3075 / PR #3604) resume.

  9. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    ContributorAuthor

    Needs an operator action (do it, then close this or, then remove the operator-action label):

    The owner must publish prepared commit afa13039155f3ba1175e97ee367c51de8386b531 to the existing PR branch through an authorized lease-protected update; the runner’s pre-push hook refused that operation. Then retarget PR #3640 to develop-v2.1.0 and resume fresh GitHub and targeted KVM proof before merge. Verified the replacement contains only one commit and seven intended paths; remote publication remains unchanged.

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

    operator-action

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions