Improve auto-update hold/failure notifications to ntfy #77
Labels
No labels
host:electra
host:fleet
host:lyra
host:vega
host:vega
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:declarative-purity-cleanup
project:external-review
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
service:auto-update
service:mem0
service:sillytavern
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#77
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
When
nixos-auto-updateis paused — either by an explicit deployment hold (/run/nixos-auto-update/hold) or a prior failed switch (failure stamp at/var/lib/nixos-auto-update/last-failure) — the script exits silently or sends awarning-priority ntfy alert. The user has no clear, low-noise signal that auto-updates are paused and that manual action is required to resume.Observed on
vega(2026-07-18): auto-update suspended after a switch failure;just auto-update-run-nowexited immediately with "Updates suspended after failure… rebuild manually to resume." No actionable notification was delivered.Solution
Implemented in
scripts/nixos-auto-update.sh(branchfeature/hold-improvement-20260719-221710538):notify_statuswith low/default priority instead ofnotify_warning, so they do not page the user like a real failure.just auto-update-releaseis required.warning/urgent alert (genuine failure still pages).Validation
nix flake checkpasses (clean tree).main.just auto-update-run-nowsent a low-priority ntfy status:just auto-update-release(commit03c1435).just auto-update-run-nowafter release refused to deploy because localmainis behind origin (expected safety behaviour pre-merge, not a bug).Acceptance criteria