Promote dev to main: first alerting + Postfix supervision #60
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Jinemi/thermograph#60
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
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?
Promotes the first alerting this estate has ever had, plus Postfix supervision, to beta.
Full detail is in #58. What matters for this hop:
This does not deploy the alerting by itself.
/opt/observabilityon both boxes is a checkout of the archivedthermograph-observabilityrepo, so it can never pull monorepo content. Merging here deploys beta's app; the alerting config has to be hand-shipped (backup → scp →docker compose up -d grafana). That mechanism is exactly why a previous observability PR merged with zero live effect until a manual cutover. The deploy will be done immediately after this merge and verified by an alert actually arriving in Discord — reading the provisioning API back proves nothing, since it returns[REDACTED]for the webhook URL.docker compose up -d, notdocker restart: this introducesDISCORD_ALERT_WEBHOOK_URLand a restart will not pick up a new env var. Beta has an.env, so compose is safe there — the "never compose" rule is a prod constraint.Expect
ProdWorkerContainerSilentto fire immediately, and correctly. Prod worker logs stopped reaching Loki at 04:43Z while the container is up, healthy, and writing to its own docker log; prod's Alloy stopped tailing it after Swarm replaced the task. The alert is right and the underlying gap is real.Postfix supervision is already live on prod — installed and tested there directly (
kill -9recovered all three listeners in ~21s; a deliberately broken config reachedfailedat ~100s and stopped retrying). The repo change is what makes a rebuilt box reproduce it.Not safe to run during any deploy:
provision-mail.sh. Livemynetworkson prod has drifted to include172.19.0.0/16, which is not dead — Postfix has accepted real mail from172.19.0.3, the bridge Centralis runs on — and the script derivesmynetworksfrom a variable that would silently drop it. The new supervision script is separate and does not touchmain.cf.All 7 checks passed on #58, including the new structural alerting check.