From 6ee6215662f9ec6e4194e062ca043285e3318743 Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Mon, 10 Aug 2026 18:41:34 -0400 Subject: [PATCH] Record status action verification Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- PLAN.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/PLAN.md b/PLAN.md index cfc70e8..e05b4bd 100644 --- a/PLAN.md +++ b/PLAN.md @@ -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 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. + - **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. ---