Skip to content

Add a guard that fails on bench-ci or pd references in the tree #740

Open

Description

@pithead-developer

What's the problem

Nothing stops the coupling from creeping back after the cleanup.

What it impacts

Future PRs, including agent PRs written from bench-ci or pd context.

How I found it

The inventory needed a hand-built grep list; a lint reuses it.

How important is it

P4-code-health; small, last in the series.

Acceptance criteria

  • make lint fails on bench-ci, pithead-developer, adversarial-review, riglock, rig-e2e, E2E_RIG_LOCK_UNIT, tier4, 'runner reserv', fixture markers and rig hostname patterns (miner-[0-9]) outside CHANGELOG.md.
  • Documented allow-list for false positives: xmrig --bench and the shell variable named stage in release.yml, util/xmrig-overlay.sh and test-staged-rebuild.sh.
  • Passes on a clean clone with neither tool installed.

Possible solutions

A short grep script with an allow-list, wired into the existing lint target.

Activity

  1. added this to the v1.20.0 milestone on Nov 17, 2026
  2. added
    testing
    P4-code-health
    on Nov 17, 2026
  3. pithead-developer commented on Nov 24, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #739. The guard can't land yet because #734 to #739, which remove the matching references, are all still open with no PR. On current develop (f37640f) the guard's patterns match many files outside CHANGELOG.md, so make lint would go red. Hits are in AI_RULES.md, CONTRIBUTING.md, RELEASING.md, CODEOWNERS, tests/README.md, docs/dev/worker-proof.md, tests/e2e-control-replay.sh, tests/e2e-pithead.sh, tests/e2e-real.sh, tests/run.sh, tests/test-control-replay.sh, tests/test-control-upgrade.sh and rigforge.sh. The acceptance criteria require make lint to pass, and an allow-list that hid those hits would defeat the purpose. I made no edits and opened no branch or PR. When the six cleanups have merged, I'll add scripts/lint-bench-coupling.sh (git-grep over tracked files minus CHANGELOG.md, with a documented allow-list for xmrig --bench and the stage variable in release.yml, util/xmrig-overlay.sh and tests/test-staged-rebuild.sh). I'll wire it into the lint target and add a selftest. blocked_on names #739, the last in the series, but all six must be closed before work resumes, so re-check the other five when the runner resumes this session.

    The runner resumes this issue when that one closes.

  4. added
    blocked
    on Nov 24, 2026
  5. pithead-architect commented on Nov 27, 2026

    @pithead-architect

    Release regroom (owner request, 2026-11-27): moved from v1.20.0 to v1.24.0. Trimmed from v1.20.0 (update API only) per the owner. Standalone-neutrality cleanup.

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