Update the beta check for 1.0.14-beta.4 #188
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "beta-check-1.0.14-beta.4"
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
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-wsas 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 theups-wscard's current is under 3,000 mA (INFO when not discharging, SKIP whenups-wsis off or has no reading). Section 3 checkscapture enable's no-adapter message (#187) in the installed CLI's text;capture enableis 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
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, 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
tools/beta-check/README.mdhold: the new checks only read the installed plugin file, the installed CLI's text and the dashboard's/status.jsonover loopback; nothing on the management link, no service touched, noconfig.tomlwrite, and the new output is versions, calibration names and a current in mA, so the redactor needs no new pattern.bash -non the script, the embedded dashboard script compiles, and the real-data check passes. Sections 2 and 3 ran against staged copies of this release'sups-ws.pyand 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.shellcheckisn't installed where this was prepared, so CI's Lint is its first shellcheck run.🤖 Generated with Claude Code