nas-burnin/app/burnin
Brandon Walter d38807f957
Some checks are pending
Security scan / pip-audit (push) Waiting to run
Security scan / bandit (push) Waiting to run
Security scan / gitleaks (push) Waiting to run
Security scan / mypy (push) Waiting to run
test: cover Spearfoot tunables in badblocks command
Extracts the badblocks shell-command construction into
_build_badblocks_cmd(devname) so it can be unit-tested without
spinning up an asyncssh connection. Behavior unchanged.

Three tests guard:
1. Defaults match disk-burnin.sh recommendation (-b 4096 -c 64 -p 1)
2. Operator-set tunables actually propagate to the command
3. The PID-capture wrapper (sh -c 'echo PID:\$\$; exec ...') stays
   intact — without it, cancel cannot kill the remote process
   because asyncssh's signal channel is silently ignored by sshd.
2026-05-03 21:24:10 -07:00
..
__init__.py fix: address Codex review of burnin package split (1.0.0-32) 2026-05-03 01:35:07 -04:00
_common.py refactor: extract _common.py + stages.py from burnin (1.0.0-31) 2026-05-03 01:18:04 -04:00
kill.py refactor: split burnin.py into a package — extract unlock + kill (1.0.0-30) 2026-05-03 00:44:28 -04:00
stages.py test: cover Spearfoot tunables in badblocks command 2026-05-03 21:24:10 -07:00
unlock.py refactor: split burnin.py into a package — extract unlock + kill (1.0.0-30) 2026-05-03 00:44:28 -04:00