Say an interrupted update was cut short, not that it failed to start #140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "update-interrupted-wording"
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
After an update is interrupted (a power cut or a crash mid-install), the boot-time recovery restores the previous version, and the dashboard's Updates card used to say "The new version did not come up, so retrying the same release may fail again", because the recovery's detail ("…was interrupted and has been rolled back") matched the restart-failure case. The new version never failed there. The card now says the update was cut short, by a power cut or a crash, that the previous version was restored when the device started again, and that it is safe to retry on steady power. A real restart failure keeps its existing warning.
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.Notes for review
_update_failureinweb.pychecks "interrupted" before "rolled back"; a new test pins that an interrupted update's card says it was cut short and never "did not come up".docs/developer/updates-setup.md("If an update fails", "If an update is interrupted") says what the card shows. The on-device guide doesn't describe the failure verdicts, so it's unchanged.🤖 Generated with Claude Code