Replace the device and capture health scripts with pull-health.sh #107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/pull-health"
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
Adds
builder/extra/files/scripts/pull-health.sh, a read-only health check you run from your computer against a device, and removes the two scripts it replaces,pull-device-diagnostics.shandpull-capture-health.sh.kestrelunit's state, failed units, features on and the plugin list;kismet-journalfile is present;kestrel-health-<time>.txt, mode 600, not an archive. It refuses to save inside a git checkout..gitignoreand the real-data check now also refuse that file name, with a test.Checklist
make lintpasses locally (shellcheck included).nmcli,bluetoothctl,ip,rfkill,iw);scripts/README.md.Release impact
pull-agent-diagnostics.shand the README fromscripts/(see "install kestrel operator scripts" inbuilder/config.yml), so neither removed script was on devices andconfig.ymldoesn't change.Notes for review
config.ymlinstalls only those two files. This PR doesn't change that; it's worth a separate look.🤖 Generated with Claude Code