Pass the dashboard password to the beta check's dashboard section #122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/beta-check-dashboard-password"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
Fixes the beta check's dashboard section, which never received the dashboard password.
The section ran as
printf '%s\n' "$web_pw" | /usr/bin/python3 -I - <<'PY'. The heredoc replaces the piped stdin, so Python read its own code from stdin, thensys.stdin.readline()returned an empty line. Every dashboard-backed check (3.2, 5.4, 6.3, 7.4, 9.10, 9.12, 9.19, 9.25–9.27 for 1.0.11-beta.1) reported "SKIP: no password given", whether the password was typed at the prompt or forwarded withKESTREL_WEB_PASSWORD. The same construct was in earlier betas' scripts.$work/dashboard.py, the check's root-only (0700) temp folder, removed on exit, and the password is piped to it. It still never appears on a command line, in the environment or on disk.Checklist
make lint(ansible--syntax-check,yamllint,shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.make test(thekestrel_pipytest suite and the real-data check's tests). The Test workflow runs this on the PR..envfiles, real names, personal emails, device serials, and no real captured or device data: SSIDs, MAC addresses, GPS coordinates, capture files, diagnostics bundles, logs, or screenshots of a real device — placeholders only. The real-data check catches MACs, emails, keys and capture files; real SSIDs, coordinates and screenshots are on you.docs/, and the on-device operator guide (GUIDE_MDinkestrel_pi/userguide.py) where it applies.Release impact
kestrel_pipackage,plugins/*.py, systemd units, the journald drop-in, a lib script already in the engine'sLIB_SCRIPTS, or the CLI.config.txt/cmdline, kernel modules, the base image or partition size,builder/config.json,builder/config.yml, theMakefile,.forgejo/workflows/, a shipped config default (config.toml/default.conf), or a brand-new lib script.Notes for review
tools/beta-check/only; the scripts aren't shipped in the image.printf 'x\n' | python3 -I - <<PY ... sys.stdin.readline()returns'';CHECK 9.19 PASSwith the password piped in andSKIP: no password givenwithout one;make lintis clean.🤖 Generated with Claude Code