Record status action verification
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -1779,6 +1779,16 @@ updates its display-facing values without a manual restart once sync lands.
|
|||||||
- **Next status-page polish 2026-08-10**: add quick action buttons directly on `/status` for
|
- **Next status-page polish 2026-08-10**: add quick action buttons directly on `/status` for
|
||||||
server test, sync-now, uplink reconnect, and app-service restart so the Pi can be diagnosed and
|
server test, sync-now, uplink reconnect, and app-service restart so the Pi can be diagnosed and
|
||||||
nudged from one screen instead of bouncing back to Settings/SSH.
|
nudged from one screen instead of bouncing back to Settings/SSH.
|
||||||
|
- **Implemented + verified 2026-08-10**: `/status` now includes quick actions for server test,
|
||||||
|
sync-now, uplink reconnect, and app restart. The first three reuse the existing local APIs; app
|
||||||
|
restart adds a minimal sudo-backed `systemctl restart --no-block yaris-obd.service` path,
|
||||||
|
installed by `deploy/install_service.sh` via `/etc/sudoers.d/yaris-status-actions`. Verified on
|
||||||
|
the real Pi by deploying the sudoers update, loading the new buttons, exercising
|
||||||
|
`/api/remote-config/test` (200/ok), `/api/remote-config/sync-now` (200/no_change), and
|
||||||
|
`/api/status/restart-app` (202/restart_scheduled), then confirming `yaris-obd.service`
|
||||||
|
returned to `active` and `/api/status` recovered with live values. The uplink-reconnect button
|
||||||
|
was left unclicked during verification because this Pi currently has a saved phone hotspot and
|
||||||
|
the action intentionally may switch networks/drop the active SSH session.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user