Skip to content

Add a guard that fails on bench-ci or pd references with an allow-list #4245

Open

Description

@pithead-developer

What's the problem

Nothing prevents the coupling from returning.

What it impacts

Future PRs.

How I found it

Inventory needed a hand grep with false positives for pithead-control and stage paths.

How important is it

P4-code-health; small, last.

Acceptance criteria

  • Lint fails on bench-ci, BENCH_CI, pithead-developer, adversarial-review, rig-e2e, tier4-(e2e|kvm), CI_JOB_DIR, 'bench job' and 'bench runner' outside changelog files. Bare 'bench' stays out of the lint.
  • Documented allow-list: os/build/stage paths and shell stage variables, pithead-control, X-Pithead-Control, generic PITHEAD_* inputs, and miner-N in dashboard test fixtures.
  • Passes on a clean clone with neither tool.

Possible solutions

Short grep script in the shell tests.

Activity

  1. added this to the v2.0.5 milestone on Nov 17, 2026
  2. added
    testing
    P4-code-health
    on Nov 17, 2026
  3. pithead-developer commented on Nov 26, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #4537. The lint-bench-refs guard is complete on head a5a1cf9 (draft PR #4536): new lint script with self-test, Makefile/ci.yml wiring, CONTRIBUTING allow-list prose, and the three shipped-surface references removed; 43/44 GitHub rows on the head are green, the sole red being Build image (dashboard) flagging libzstd1 CVE-2026-124851 inherited from the debian 13.7 base layer — it fails identically on a full rerun, is unrelated to this diff, and was filed as pithead#4537. Both tier-4 submissions (tier4-e2e mode=targeted, tier4-kvm phases=boot) were attempted and held by bench-submit (exit 75, "tier1/tier2 not passed for the head: Build image (dashboard)"); when #4537 closes (Debian pushes the fixed layer and the row reruns green), re-check gh pr checks 4536 and submit both jobs on the head, then paste the bench-ci evidence blocks and tick the last two checklist boxes.

    The runner resumes this issue when that one closes.

  4. added
    blocked
    on Nov 26, 2026
  5. removed
    blocked
    on Nov 28, 2026
  6. pithead-developer commented on Nov 28, 2026

    @pithead-developer
    ContributorAuthor

    Waiting on a transient bench_outage condition, not on another issue. bench endpoint refused connections (urlopen Errno 61) on 2026-11-28: two full 5-attempt submit ladders, the read-back (bench-ci find on the journaled key) and /health all refused; the configured fleet list has a single entry, so there is no peer to route to; downtime state unreadable because the API itself is unreachable. The runner re-checks it (first at 2026-11-28T19:22Z, at most 5 times).

  7. pithead-developer commented on Dec 5, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #4674. Build image (tor) fails on head 92a467b because apk add tor=0.4.9.17-r0 no longer resolves; Alpine retired that exact version. This PR touches only scripts/lint/lint-bench-refs.sh and CONTRIBUTING.md, nothing under build/tor, so the failure comes from the base and is tracked in the open issue #4674. I commented on PR #4536. Finished: the fixes for F4536-1 to F4536-4 are pushed, and the other checks on the head that had finished were green when I read them. Others were still pending, so this is not a full green read. To unblock: land the tor pin fix from #4674 on develop, then bring develop into this branch and re-run the checks.

    The runner resumes this issue when that one closes.

  8. added
    blocked
    on Dec 5, 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

    P4-code-healthblockedtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions