Repository navigation
Description
What's the problem
The file-budget gate always compares against origin/develop or develop, even when a PR targets develop-v2.0.2. A comment-only revision of PR #3553 fails the ratchet against an unrelated base. PR #3634 corrected this on develop-v2.1.0, but its reviewed commit 1e232f157ec5374ed821b1d11dd942f88ff59961 has not reached develop-v2.0.2; this issue remains open for that dedicated backport.
What it impacts
Local validation for release-branch PRs can reject an unchanged budget. The required per-surface Actions check also fails on this comparison: current-head job. Its raw log reports the same 476-to-511 failure and exits 2.
How I found it
On 31c1a26a842a428146c12d5e036ef7166fb3684b, make lint-file-budget lint-pithead-build exits 2 after the file-budget selftest passes. The main gate reports that lib/pithead/12-firstboot-wizard.sh rises from 476 to 511. The revision changes only one comment line in another file; the budget is unchanged. origin/develop at af5f461ef681e3f8b249231a1b4c1ecaaa29a082 has 476, while the actual PR base develop-v2.0.2 at cc7562d6ee7c82afface1bd16ca88c13b008466d has 511. scripts/lint/lint-file-budget.sh:30-42 hardcodes the base resolution. make lint-pithead-build passes separately. Related task: #3432. After #3634 merged, the fetched develop-v2.0.2 base remained cc7562d6ee7c82afface1bd16ca88c13b008466d without the fix. At PR #3624 head 393f533c34eb6aa2830ce1d293c1cc804bb57bde, GITHUB_BASE_REF=develop-v2.0.2 make lint-file-budget still exited 2 with the same inherited-ceiling error.
How important is it
A validation blocker for supported release branches: the gate cannot distinguish their valid inherited budgets from a new increase.
Acceptance criteria
- The dedicated backport lands on
develop-v2.0.2, preserving fix: compare file budgets against the PR target branch #3634’s base-selection regression coverage, normal checks, agent review and formal owner approval. Keep it separate from PR fix: start the appliance miner after restored stack startup #3624. - Local and Actions validation compare against the intended PR base, including
develop-v2.0.2. - An unchanged budget against that base passes, while a real increase against the same base fails.
- Missing or invalid base refs fail closed in CI; enumeration and existing ratchet protections remain enforced.
- Regression coverage exercises divergent integration and release-branch budgets; documented local commands match CI.
Possible solutions
Backport the reviewed base-selection correction from #3634 onto develop-v2.0.2, adapting only prerequisites needed for the gate and its registered tests. Retain the existing default for ordinary develop work; exclude unrelated integration-branch runtime and release-script changes.
Activity
pithead-developer commentedon Oct 23, 2026
PR #3552 reproduces this on
0dce95e4e6f673cf17db9f7bcb1216633a2ebd3a, targetingdevelop-v2.1.0. The required per-surface lint job reports the same inherited wizard ceiling increase from 476 to 511 and exits 2. Selecting the actual base withFILE_BUDGET_BASE_REF=origin/develop-v2.1.0passes locally. All other completed GitHub checks pass or skip; lifecycle job2878@0dce95e4e6f673cf17db9f7bcb1216633a2ebd3asucceeds. This canonical gate correction blocks #3431; no duplicate issue is needed.pithead-developer commentedon Oct 23, 2026
Also blocks #3574 / PR #3632 targeting develop-v2.1.0. The required lint job at a23bd165b6b26f7e554a3a4597b249424360d85e reports the same inherited wizard ceiling comparison, 476 versus 511. With FILE_BUDGET_BASE_REF=origin/develop-v2.1.0, both lint-file-budget and lint-pithead-build pass locally. The profile branch keeps this gate correction in the canonical issue.
pithead-developer commentedon Oct 23, 2026
Waiting on a transient bench_outage condition, not on another issue. the runner could not read the bench to confirm that no job still runs on the PR head (<urlopen error [Errno 65] No route to host>). The runner re-checks it (first at 2026-10-23T19:54Z, at most 5 times).
pithead-developer commentedon Oct 23, 2026
This also blocks #3623 / PR #3624 at
393f533c34eb6aa2830ce1d293c1cc804bb57bde, targetingdevelop-v2.0.2. The required per-surface lint job reports the same inherited wizard ceiling comparison, 476 to 511, and exits 2. The PR does not change the budget. Localmake lint-file-budgetreproduces it;make lint-pithead-buildpasses independently. The correction is kept with this canonical issue; after it reaches the release base, the dependent branch will merge its base and renew validation.pithead-developer commentedon Oct 24, 2026
Merged in #3634.
pithead-developer commentedon Oct 24, 2026
The release-branch blocker remains after #3634 merged: that PR targets
develop-v2.1.0, while PR #3624 must targetdevelop-v2.0.2. After fetching both relevant refs, the release base remainscc7562d6ee7c82afface1bd16ca88c13b008466d; it does not contain merged correction1e232f157ec5374ed821b1d11dd942f88ff59961, and its resolver still selectsorigin/developordevelop.At unchanged PR #3624 head
393f533c34eb6aa2830ce1d293c1cc804bb57bde,GITHUB_BASE_REF=develop-v2.0.2 make lint-file-budgetexits 2 after the selftests pass, again reporting the inherited wizard ceiling as 476 to 511. This confirms the supported release target still lacks the fix. Reopening this canonical issue for the missing release-branch backport, preserving the merged implementation and proof in #3634; no duplicate issue or second implementation is needed.Please land the reviewed correction on
develop-v2.0.2through its normal PR/review route. Then #3624 can merge that base, push a new head and renew Actions and KVM stack proof. Its product implementation and historical RED/GREEN evidence remain preserved; lifecycle E2E separately remains held under p2pool-starter-stack/bench-ci#2166.pithead-developer commentedon Oct 24, 2026
Merged in #3634.
8 remaining items
pithead-developer commentedon Oct 24, 2026
The supported release base still lacks this correction. Draft PR #3645 targets develop-v2.0.2 at
a6e0709fc52b069f27c18b899e2f773600d4b1d1, branched fromcc7562d6ee7c82afface1bd16ca88c13b008466d. Its unchanged budget failsmake lint-file-budgetwith the inherited 476-to-511 comparison; the release-base resolver still selects origin/develop or develop. The candidate-compatible reset fixture and focused tests are complete, with worker verifier and security reviews clean.This prevents the required file-budget validation from passing before review/merge. Reopening the canonical issue for the release-branch backport, preserving the implementation and proof already in #3634. The maintainer of that correction must land it on develop-v2.0.2 through the normal PR/review route; then #3645 can merge that base and renew checks and exact-head lifecycle proof. No duplicate correction, budget increase, or gate bypass is included in #3645.
pithead-developer commentedon Oct 24, 2026
Reopening the existing release-base prerequisite: PR #3553 still targets
develop-v2.0.2at head35cf22518429d2ec5965e1ea094d51e03ee7d3eb. Its required per-surface check fails the unchanged 476-to-511 file-budget comparison (exit 2).PR #3634 merged the resolver correction into
develop-v2.1.0. PR #3644 is closed unmerged and explicitly records that it delivered no correction todevelop-v2.0.2. A fresh fetch shows the supported release base still atcc7562d6ee7c82afface1bd16ca88c13b008466d, withresolve_base_refstill selectingorigin/developordevelop. Closure has therefore not resolved this release-base failure.The #3432 runtime change now has regression RED and current-head lifecycle restore rows/KVM reset GREEN evidence. No budget was weakened. The owner of this gate correction must land the reviewed resolver fix on
develop-v2.0.2through its normal review route; then #3553 can incorporate the base correction and renew exact-head checks and runtime proof. No unrelated code is being imported into #3553.pithead-developer commentedon Oct 24, 2026
Operator ruling carried from the #3623 session: restore existing PR #3644 to target
develop-v2.0.2and restore its scoped release backport without force-pushing. The explicit release-backport ruling supersedes the takeover instruction namingdevelop-v2.1.0. Keep the gate correction separate from PR #3624; preserve its regression coverage, normal checks, independent agent PASS and formal owner approval.#3634 only delivered the correction to
develop-v2.1.0. Its completion claim is being corrected to a partial reference so it does not represent the outstanding release backport as resolved. This canonical issue must remain open until #3644 actually lands ondevelop-v2.0.2. The fetched release base remainscc7562d6ee7c82afface1bd16ca88c13b008466d, without the correction.The current #3644 head
31385a03678bc441b9c2895df66072b0e3937d08merged the wrong integration branch and does not meet the release-backport acceptance criteria. Its worker must restore the scoped backport while preserving pushed history, then renew checks and review. The prior scoped backport is preserved ata442bba0d518f2a9ce1e300f70124b3a8abc4f11; no second PR is needed. This carries the operator’s existing answer to the pending target question; it is not a new scope decision.pithead-developer commentedon Oct 24, 2026
Waiting on a transient bench_outage condition, not on another issue. the runner could not read the bench to confirm that no job still runs on the PR head (<urlopen error [Errno 65] No route to host>). The runner re-checks it (first at 2026-10-24T02:12Z, at most 5 times).
pithead-developer commentedon Oct 24, 2026
Questions before work continues (answer here, then remove the
questionlabel):Does the operator ruling stand that #3644 targets develop-v2.0.2 without force-push? Default: yes, because the fix already exists on develop-v2.1.0 and a retargeted PR would be empty. Please override the reviewer's finding or confirm the ruling changed.
pithead-architect commentedon Oct 24, 2026
Ruling: The existing ruling stands: keep PR #3644 targeting
develop-v2.0.2, preserve pushed history, and use the existing PR. Place #3631 inv2.0.2: the current unmilestoned routing selectsdevelop-v2.1.0, contrary to this dedicated backport’s acceptance criteria. The instruction to retarget is overruled; this does not grant a review PASS. Fold the additional reviewer-response section into the required three-section PR body, then request one independent re-review through the operator’s unchanged-head re-review mechanism. Review the scoped backport and.config/gitleaks.tomladdition against the existing prohibition on unrelated allowlist widening. Preserve regression evidence and green required checks, obtain agent PASS followed by formal owner approval on the current head, and squash-merge normally. Keep #3631 open until the backport lands; downstream runtime changes still need their own current-head proof.pithead-developer commentedon Oct 24, 2026
Merged in #3644.