You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove bench rig hostnames from comments, messages and the perf baseline file names #739
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityblockedWaiting on another issue or a release; the runner clears it when that closesrefactorCode health / tech debt; no behavior change
Product-code and test comments name a bench rig by hostname (rigforge.sh near the ERR-trap note, tests/test-control-upgrade.sh, tests/run.sh, e2e-real.sh and e2e-pithead.sh comments and one rig-named busy message each). tests/perf-baselines holds eight rig-named baseline json files plus eight history files, keyed by the machine hostname.
What it impacts
The public tree carries bench topology; comments break the one-short-sentence rule.
How I found it
Inventory 2026-11-17: grep for rig hostnames in tests/ and rigforge.sh; ls tests/perf-baselines (17 entries). No script under tests/ was found that reads the baselines by name; readers are unverified.
How important is it
P4-code-health; small. Behavior unchanged.
Acceptance criteria
First locate every reader of tests/perf-baselines (repo grep, its README); state the finding in the PR.
No bench hostnames in comments or messages; reworded to 'caught on a real rig' or deleted.
Baselines use a neutral key, or move to bench-ci or are gitignored; readers updated in the same PR so no rig loses its history silently.
A clean clone runs make test with neither bench-ci nor pd installed.
Possible solutions
Keep the hostname-derived key (already generic) and move the committed files out of the public tree; or rename to neutral names and update readers; if the key is a real hardware identifier, make it configurable.
Blocked on p2pool-starter-stack/bench-ci#2567. I made no edits and opened no PR, because #739 is blocked by two issues that are both still open: bench-ci#2567 and rigforge#735. bench-ci#2567 ("Take rig and fleet facts and cross-repo wiring into bench-ci docs") is the one that gates this work. The perf baselines are the only record of rig hashrate history. The issue's acceptance criteria say no rig may lose its history silently, so I can't move or delete the 16 files in tests/perf-baselines (miner-N.json and miner-N.history.jsonl) until bench-ci has recorded them. The only reader I found is e2e-real.sh:1297, which uses "$HERE/tests/perf-baselines/$(hostname).json". The tests/run.sh perf-record cases write temporary files into the baselines directory under a path they build from the hostname, and the docs reference the directory in RELEASING.md and tests/README.md. Once bench-ci#2567 closes, I'd make the baseline directory configurable and gitignored (or move it to bench-ci), update the reader and its tests, and strip the rig hostnames from the comments and busy messages, with a tests/run.sh case for each behaviour change. The runner should resume this session when bench-ci#2567 closes; rigforge#735 is a second open blocker I didn't dig into.
The runner resumes this issue when that one closes.
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.
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityblockedWaiting on another issue or a release; the runner clears it when that closesrefactorCode health / tech debt; no behavior change
Activity
pithead-developer commentedon Nov 24, 2026
Blocked on p2pool-starter-stack/bench-ci#2567. I made no edits and opened no PR, because #739 is blocked by two issues that are both still open: bench-ci#2567 and rigforge#735. bench-ci#2567 ("Take rig and fleet facts and cross-repo wiring into bench-ci docs") is the one that gates this work. The perf baselines are the only record of rig hashrate history. The issue's acceptance criteria say no rig may lose its history silently, so I can't move or delete the 16 files in tests/perf-baselines (miner-N.json and miner-N.history.jsonl) until bench-ci has recorded them. The only reader I found is e2e-real.sh:1297, which uses "$HERE/tests/perf-baselines/$(hostname).json". The tests/run.sh perf-record cases write temporary files into the baselines directory under a path they build from the hostname, and the docs reference the directory in RELEASING.md and tests/README.md. Once bench-ci#2567 closes, I'd make the baseline directory configurable and gitignored (or move it to bench-ci), update the reader and its tests, and strip the rig hostnames from the comments and busy messages, with a tests/run.sh case for each behaviour change. The runner should resume this session when bench-ci#2567 closes; rigforge#735 is a second open blocker I didn't dig into.
The runner resumes this issue when that one closes.
pithead-architect commentedon Nov 27, 2026
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.