Update the beta check for 1.0.11-beta.3 #127

Merged
aluminum-ice merged 1 commit from beta-check/1.0.11-beta.3 into main 2026-10-31 08:24:35 +00:00
Owner

What this PR does

Updates tools/beta-check/beta-check-device.sh for 1.0.11-beta.3, an in-place update on top of beta 2 carrying #126 (AngryOxide stopped cleanly with SIGINT). The CHECK ids match the checklist issue I'll open once it's published:

  1. Update to this beta: unchanged from beta 2.
  2. AngryOxide stopped cleanly (#126), new:
    • 2.1: the capture unit's KillMode=mixed and stop timeout (systemctl show).
    • 2.2: the running AngryOxide catches SIGINT and doesn't ignore it (its SigCgt/SigIgn masks from /proc). This confirms on the device that env --default-signal=INT gets AngryOxide's Ctrl-C handler working.
    • 2.3, with capture off: the last stop since the update exited with rc=0 and left no kismet-journal (replaces beta 2's 5.4).
    • 2.4: every agent relaunch and run-folder roll since the update exited with rc=0, and nothing was killed after the timeout.
    • 2.5, by hand: stop and start capture from the dashboard.
  3. Regressions from beta 2: the contests, scripts and version checks, renumbered 3.1–3.10.
  4. Regressions from beta 1: 4.1–4.19.
  5. Regressions from 1.0.10: 5.1–5.27.
  6. Closing: 6.1.

Checklist

  • Lint passes — make lint (ansible --syntax-check, yamllint, shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.
  • Tests pass — make test (the kestrel_pi pytest suite and the real-data check's tests). The Test workflow runs this on the PR.
  • Nothing real: no secrets, no personal information, no real data. This is a public repository. The diff contains no real account passwords or hashes, Wi-Fi passphrases, private keys, API tokens, .env files, 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.
  • Consent gates intact. Capture and network plugins still ship disabled, enabling them still takes the authorized-use acknowledgment (never pre-ticked or given by code), and the capture whitelist is still enforced.
  • Docs updated in the same PR, if this changes something an operator sees or configures: the README package table, the relevant page under docs/, and the on-device operator guide (GUIDE_MD in kestrel_pi/userguide.py) where it applies.
  • Commit messages are short and imperative.

Release impact

  • App-layer-safe — changes only files the in-place update engine carries: the kestrel_pi package, plugins/*.py, systemd units, the journald drop-in, a lib script already in the engine's LIB_SCRIPTS, or the CLI.
  • Reflash-class — touches a build input the engine does not carry onto a running device: apt or pip packages, boot options / config.txt / cmdline, kernel modules, the base image or partition size, builder/config.json, builder/config.yml, the Makefile, .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.

  • The README's rules hold:

    • read-only; systemctl show and /proc/<pid>/status are reads;
    • from the capture unit's journal only exit codes and counts are taken (its other lines can carry network names).
  • Checked off the device:

    • make lint;
    • the config harness against staged copies of beta 3's files: all pass, staged config unchanged;
    • a weakened copy fails 4.8, 5.6 and 5.22;
    • 2.3/2.4's exit-code parsing against sample lines in the launcher's exact log format: rc=0 reads clean, rc=137 is flagged.

    Writing that last check also showed that grep -qv behaves differently under ugrep, so it uses a form both greps agree on.

  • The first run on a device is still the scripts' first real test.

🤖 Generated with Claude Code

## What this PR does Updates `tools/beta-check/beta-check-device.sh` for **1.0.11-beta.3**, an in-place update on top of beta 2 carrying #126 (AngryOxide stopped cleanly with SIGINT). The CHECK ids match the checklist issue I'll open once it's published: 1. **Update to this beta:** unchanged from beta 2. 2. **AngryOxide stopped cleanly (#126), new:** - **2.1:** the capture unit's `KillMode=mixed` and stop timeout (`systemctl show`). - **2.2:** the running AngryOxide catches SIGINT and doesn't ignore it (its `SigCgt`/`SigIgn` masks from `/proc`). This confirms on the device that `env --default-signal=INT` gets AngryOxide's Ctrl-C handler working. - **2.3, with capture off:** the last stop since the update exited with `rc=0` and left no `kismet-journal` (replaces beta 2's 5.4). - **2.4:** every agent relaunch and run-folder roll since the update exited with `rc=0`, and nothing was killed after the timeout. - **2.5, by hand:** stop and start capture from the dashboard. 3. **Regressions from beta 2:** the contests, scripts and version checks, renumbered 3.1–3.10. 4. **Regressions from beta 1:** 4.1–4.19. 5. **Regressions from 1.0.10:** 5.1–5.27. 6. **Closing:** 6.1. ## Checklist - [x] **Lint passes** — `make lint` (ansible `--syntax-check`, `yamllint`, `shellcheck --severity=error`, and the real-data check). The **Lint** workflow runs this on the PR. - [x] **Tests pass** — `make test` (the `kestrel_pi` pytest suite and the real-data check's tests). The **Test** workflow runs this on the PR. - [x] **Nothing real: no secrets, no personal information, no real data.** This is a public repository. The diff contains no real account passwords or hashes, Wi-Fi passphrases, private keys, API tokens, `.env` files, 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. - [x] **Consent gates intact.** Capture and network plugins still ship disabled, enabling them still takes the authorized-use acknowledgment (never pre-ticked or given by code), and the capture whitelist is still enforced. - [x] **Docs updated in the same PR**, if this changes something an operator sees or configures: the README package table, the relevant page under `docs/`, and the on-device operator guide (`GUIDE_MD` in `kestrel_pi/userguide.py`) where it applies. - [x] Commit messages are short and imperative. ## Release impact - [x] **App-layer-safe** — changes only files the in-place update engine carries: the `kestrel_pi` package, `plugins/*.py`, systemd units, the journald drop-in, a lib script already in the engine's `LIB_SCRIPTS`, or the CLI. - [ ] **Reflash-class** — touches a build input the engine does not carry onto a running device: apt or pip packages, boot options / `config.txt` / `cmdline`, kernel modules, the base image or partition size, `builder/config.json`, `builder/config.yml`, the `Makefile`, `.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. - **The README's rules hold:** - read-only; `systemctl show` and `/proc/<pid>/status` are reads; - from the capture unit's journal only exit codes and counts are taken (its other lines can carry network names). - **Checked off the device:** - `make lint`; - the config harness against staged copies of beta 3's files: all pass, staged config unchanged; - a weakened copy fails 4.8, 5.6 and 5.22; - 2.3/2.4's exit-code parsing against sample lines in the launcher's exact log format: `rc=0` reads clean, `rc=137` is flagged. Writing that last check also showed that `grep -qv` behaves differently under `ugrep`, so it uses a form both greps agree on. - The first run on a device is still the scripts' first real test. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Update the beta check for 1.0.11-beta.3
All checks were successful
Lint / lint (push) Successful in 34s
Test / test (push) Successful in 26s
Lint / lint (pull_request) Successful in 33s
Test / test (pull_request) Successful in 26s
8a6084d96a
Check this in-place beta's clean AngryOxide stop: the capture unit's
KillMode and stop timeout, that the running AngryOxide catches SIGINT,
and that stops, relaunches and rolls since the update exited cleanly
with no kismet-journal left. Keep beta 2's, beta 1's and 1.0.10's checks
as regressions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch beta-check/1.0.11-beta.3 2026-10-31 08:24:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aluminum-ice/kestrel!127
No description provided.