Update the beta check for 1.0.14-beta.4 #188

Merged
aluminum-ice merged 1 commit from beta-check-1.0.14-beta.4 into main 2026-11-13 01:57:59 +00:00
Owner

What this PR does

Updates the on-device beta check for 1.0.14-beta.4. Section 2 checks the UPS HAT's current and power (#186): 2.1 reads the installed ups-ws as text (version 0.1.1, CALIBRATION = ina219.CAL_32V_2A; nothing is loaded and the I2C bus isn't touched), and 2.2, from the dashboard section, checks that on battery the ups-ws card's current is under 3,000 mA (INFO when not discharging, SKIP when ups-ws is off or has no reading). Section 3 checks capture enable's no-adapter message (#187) in the installed CLI's text; capture enable is never run. Beta 3's sections become regressions 4-5, beta 2's 6-7, and every later section moves up by two, in the CHECK ids, the dashboard checks, the comments and the by-hand list, so the ids match the beta.4 checklist.

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, the Release workflow (.forgejo/workflows/main.yml), a shipped config default (config.toml / default.conf), or a brand-new lib script.

(The beta-check scripts aren't shipped, so this doesn't affect the release kind.)

Notes for review

  • The rules in tools/beta-check/README.md hold: the new checks only read the installed plugin file, the installed CLI's text and the dashboard's /status.json over loopback; nothing on the management link, no service touched, no config.toml write, and the new output is versions, calibration names and a current in mA, so the redactor needs no new pattern.
  • Checked off the device: bash -n on the script, the embedded dashboard script compiles, and the real-data check passes. Sections 2 and 3 ran against staged copies of this release's ups-ws.py and CLI (PASS) and beta.3's (FAIL: version 0.1.0, CAL_16V_5A; old wording present), and 2.2's logic against invented readings (PASS at -412 mA, FAIL at -4072 mA, INFO while charging, SKIP with no reading). Every CHECK id in the script matches an item on the beta.4 checklist, and every non-by-hand item has a check. shellcheck isn't installed where this was prepared, so CI's Lint is its first shellcheck run.
  • The first run on a device is the script's first real test.

🤖 Generated with Claude Code

## What this PR does Updates the on-device beta check for 1.0.14-beta.4. Section 2 checks the UPS HAT's current and power (#186): 2.1 reads the installed `ups-ws` as text (version 0.1.1, `CALIBRATION = ina219.CAL_32V_2A`; nothing is loaded and the I2C bus isn't touched), and 2.2, from the dashboard section, checks that on battery the `ups-ws` card's current is under 3,000 mA (INFO when not discharging, SKIP when `ups-ws` is off or has no reading). Section 3 checks `capture enable`'s no-adapter message (#187) in the installed CLI's text; `capture enable` is never run. Beta 3's sections become regressions 4-5, beta 2's 6-7, and every later section moves up by two, in the CHECK ids, the dashboard checks, the comments and the by-hand list, so the ids match the beta.4 checklist. ## 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. - [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`, the Release workflow (`.forgejo/workflows/main.yml`), a shipped config default (`config.toml` / `default.conf`), or a brand-new lib script. (The beta-check scripts aren't shipped, so this doesn't affect the release kind.) ## Notes for review - The rules in `tools/beta-check/README.md` hold: the new checks only read the installed plugin file, the installed CLI's text and the dashboard's `/status.json` over loopback; nothing on the management link, no service touched, no `config.toml` write, and the new output is versions, calibration names and a current in mA, so the redactor needs no new pattern. - Checked off the device: `bash -n` on the script, the embedded dashboard script compiles, and the real-data check passes. Sections 2 and 3 ran against staged copies of this release's `ups-ws.py` and CLI (PASS) and beta.3's (FAIL: version 0.1.0, `CAL_16V_5A`; old wording present), and 2.2's logic against invented readings (PASS at -412 mA, FAIL at -4072 mA, INFO while charging, SKIP with no reading). Every CHECK id in the script matches an item on the beta.4 checklist, and every non-by-hand item has a check. `shellcheck` isn't installed where this was prepared, so CI's Lint is its first shellcheck run. - The first run on a device is the script's first real test. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Update the beta check for 1.0.14-beta.4
All checks were successful
Lint / lint (push) Successful in 29s
Test / test (push) Successful in 55s
Lint / lint (pull_request) Successful in 30s
Test / test (pull_request) Successful in 57s
d67f7a0fcc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch beta-check-1.0.14-beta.4 2026-11-13 01:57:59 +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!188
No description provided.