Third review round (over the wave 3/4 fixes) surfaced further findings, mostly in
new code paths; this clears them:
- HIGH the fully-built "Boards" column (Column::Hashboards: renderer, sort/filter
logic, tests, a self-test check) was missing from ALL_COLUMNS, so it was
unreachable in the UI and its self-test check was dead. Added to ALL_COLUMNS
(opt-in; Health still shows composite board health by default) and the self-test
now makes it visible -- the dot-sentinel check is live again.
- HIGH apply_pools() could start a pool write during a restore-to-stock (it sets
self.action directly, bypassing start_action's guard) -> same restore guard.
- HIGH superseding an in-flight action/pools job left the old miners' Health cells
frozen on the "…ing" label forever (the replaced handle's drain never runs) ->
clear the superseded action's op-status.
- HIGH clean_antminer() byte-sliced a miner-supplied model string without a
char-boundary check (panic DoS) -> use get(..9).
- MED access-probe errors were silently discarded -> surfaced in the indicator.
- MED the pool-password file was briefly world-readable before chmod -> created
0600 from the start (OpenOptions mode).
- MED a miner-controlled log response was buffered unbounded (OOM DoS) -> capped.
- MED the language-menu id range was hardcoded (and 790-794 collided with the
pool-preset / fw-preset dialog ids!) -> derived from Lang::all() and moved the
dialog ids to a clear block.
- LOW restore_vnish now sends the unlock body via stdin (password off argv), and
the LuxOS restore treats a reboot-dropped/empty reply as success.
Remaining round-3 findings are the previously-accepted perf tradeoffs (bulk-serial
writes, per-tick refill, per-render health recompute, linear upsert), documented
in code and in code-review-report.md.
99 tests + clippy-clean + selftest green (Boards-column check now live).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6