Repository navigation
Phase 4: observability and docs match production - #424
Merged
Merged
Conversation
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
Signed-off-by: mfwolffe <wolffemf@dukes.jmu.edu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Availability campaign Phase 4 (
docs/internal/retro/2026-09-02-availability-sitrep.md). Docs described a WireGuard mesh and a monitoring droplet that never existed; production is one box pushing metrics to Grafana Cloud with no alerting.bc62c4b5docs: single-box reference deployment (topology + memory budget) indeploy.md/architecture.md; real Alloy → Grafana Cloud pipeline inobservability.md/runbooks/observability.md; no Alertmanager / no log shipping / no worker metrics stated plainly inalerts.mdandincidents.md; multi-host design kept as a marked aspirational section. Adds amemory-pressurerunbook section (sar -r,systemctl show -p MemoryCurrent,/metricsgauges).c9b992b5deploy/monitoring/README.md: nothing there is deployed, which alerts are therefore inert, why some could not fire even with a Prometheus, and what adopting them would take. Nothing deleted.02df85e4backup scripts emit timestamped start/end/exit-status to the cron-redirected stream and write a success-only heartbeat;set -euo pipefailpreserved (failed rclone exits non-zero, previous heartbeat untouched).ef456602shithub_backup_last_success_seconds{job}reads those heartbeats;BackupOverduenamedshithubd_backup_last_success_seconds, which never existed.1e204081scripts/lint-shell.sh(bash -nsweep) +scripts/test-backup-scripts.shinmake ciand CI.3e9149ecpostgresql.conf.j2sized for a shared 4 GB box:shared_buffers=256MB,work_mem=4MB,effective_cache_size=1GB,maintenance_work_mem=64MB,max_connections=60,pg_stat_statementspreloaded withtrack=top.95080d3fdb.md: template has never been applied; live-vs-template table; safe-apply procedure (restart, 05:15–06:00 window, never a blindmake deploy).c37a7a13drift script tracks/etc/postgresql/16/main/postgresql.confand reports it plus theweb.envStripe hand-edit as KNOWN drift.d040bd11scripts/lint-docs-topology.shfails CI on WireGuard /wg0/10.50.0.indocs/internaloutside a marked aspirational block (docs/internal/retro/excluded).2c22f929sitrep Phase 4 ticked; operator-only items collected into an "Operator to-do" section with exact commands.Tests
make cigreen locally (golangci-lint 2.13, gofumpt, markdown/policy/secret/spdx/unused/migration/systemd lints, new shell + topology lints,go test ./..., build)scripts/test-backup-scripts.sh— 17 assertions over both cron scripts with stubbed rclone/pg_dump: success logs + heartbeat, rclone failure exits non-zero with no heartbeat and no refresh of a stale one, rclone chatter stays out of the cron loginternal/infra/metrics/backupobserver_test.go— gauge value, absent series for missing/garbage/zero heartbeat, missing dir does not break a scrapescripts/lint-docs-topology.sh— verified it fails on an injected unmarked mention and on an unclosed blockscripts/lint-shell.sh— 35 scripts parse