Two failures today were invisible: the ngit/Amber remote signer stalling
mid-push, and the deploy timer skipping while origin/main had moved.
- scripts/auto-deploy.sh records the reason for every skip (and the run time)
to ~/.local/state/skatespots-deploy/{last-skip,last-run}.
- scripts/ops-health.sh reads that back and prints repo/push sync, the skip
reason, the throttle window and timer health; exit 1 when action is needed.
--probe-push runs a bounded real push (the only true signer probe),
--notify desktop-notifies (deduped), --quiet is silent when healthy.
- Periodic watch: skatespots-ops-health.{service,timer} (every 15 min) plus
scripts/install-ops-health-timer.sh.
Docs: AGENTS.md Deploy section.
10 lines
423 B
Desktop File
10 lines
423 B
Desktop File
[Unit]
|
|
Description=SkateSpots ops health check (signer + deploy)
|
|
Documentation=file:///home/sovereignsk8/SkateSpots/scripts/ops-health.sh
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/home/sovereignsk8/SkateSpots
|
|
# --quiet: print nothing when healthy. --notify: desktop notification, but only
|
|
# when the set of problems changes (no repeated spam).
|
|
ExecStart=/home/sovereignsk8/SkateSpots/scripts/ops-health.sh --quiet --notify
|