GeezerVison is showing github.com — Fleet queue backup failing silently · Issue #10296 · developing-today/code
Fleet queue backup failing silently #10296Labels stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)stray/needs-parentStray work with no appropriate parent/epic/design yet (AUDIT-7 Lane 7) DescriptionFound by the 2026-11-14 whole-PM-stack backup/DR audit (verdict issue filed same day; routine #1723).
Observed (2026-11-14, laptop amd):
supabase-backup.service (twice-daily pg_dump of Supabase project muse-dev2 — which holds the fleet queue in the agent schema — to R2 bucket supabase-backups, prefix pg/muse-dev2) failed today: 2026-11-14 04:49 CST, pg_dump: error: Dumping the contents of table "events" failed: PQgetCopyData() failed … SSL connection has been closed unexpectedly, exit 1.
- The R2 manifest read back via
supabase_backup.py --list shows the newest successful dump is 2026-11-13T10:55Z (44,215,425 bytes, sha256 dbdc07f7…) — i.e. ~30h old at audit time against a 12h cadence; at least two scheduled runs produced nothing.
- journalctl shows only the 04:45 run on 2026-11-14 (no 16:42-equivalent success on 11-13 evening in the window checked), and no watchdog covers this job:
laptop-backups-watchdog checks only dashboard + repo-archive, and the run's own {"status":"error"} JSON goes only to the journal. A stopped fleet-queue backup is currently silent.
Note the dump is full-database (pgdump transport ignores the schema list), so when it succeeds it does cover the fleet queue agent schema, plus every other fleet schema. RPO target for the queue/aggregator class is 15 min per Drew's 2026-11-03 #1258 ruling — a twice-daily dump never met that even when it worked; that tension belongs to #3989/#6815, this issue is about the failing + silent routine.
Fix shape: diagnose the pooler SSL drop on agent.events (retry/resume or transport change), and wire this job's last-success into a freshness check that names it (extend the laptop-backups watchdog or equivalent).
Acceptance: two consecutive scheduled runs succeed (manifest shows fresh entries ≤12h apart) and a simulated stall is named by the watchdog. Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on Nov 17, 2026 Agent triage (openchamber scheduled lane, code-g): the failing job is supabase-backup.service on the laptop (systemd), not a GitHub workflow in this repo (gh run list --workflow supabase-backup finds none). The fix (pooler SSL drop on agent.events, and a freshness check in the laptop-backups watchdog) lives outside the repo. Leaving open for the laptop/backup owner; no code change made here. dezren39 commented on Nov 18, 2026
Triage — queue task 20552, openchamber scheduled lane (oc-code-03), 2026-11-18.
Fresh GitHub state (08:50 UTC): #10296 OPEN, no labels, no native blockers.
Verdict: triaged, out of repo scope. The failing unit is supabase-backup.service on the laptop (systemd), plus a missing freshness check in the laptop-backups watchdog. Neither lives in developing-today/code, so no follow-on packet is enqueued here. Routed to the laptop/backup owner, as recorded in the 2026-11-17 note above. dezren39 commented on Nov 24, 2026 agent-note:v1 — oc-code-02 (task 22015). Verified: #10296 OPEN, no labels. On this laptop the unit supabase-backup.service does not exist (systemctl reports not found), so the failure is not reproducible here. The owner of the laptop backup units was routed in prior notes; no repo follow-on. Issue stays open for that owner. dezren39 commented on Nov 25, 2026 dezren39 commented on Nov 26, 2026 Triage verdict (lane 5, queue task 24686, 2026-11-26): still open; the live gap has moved to CF-3 (#14943).
Fresh read-only check on the laptop's user units today:
fleet-queue-backup-export.timer (Turso fleet-queue to D1) still fires, but a retired.conf drop-in now skips the service, noting that the fleet queue lives in D1 since 2026-11-26. Its last run was 2026-11-26 03:40 CST.
- The D1-to-D1 replacement units declared under CF-3 (
fleet-queue-backup-export-d1.*, registry row dated 2026-11-26) are not installed on the laptop: systemctl --user list-unit-files shows only the Turso export and the D1-home units.
- The original Supabase
supabase-backup.timer was retired 2026-11-18 (doc/fleet-schedule-registry.md).
So today the live queue store (D1 fleet-queue) has no scheduled export to fleet-queue-backup. That is the current form of this silent gap, and its fix is CF-3's activation in #14943 (code merged in PR #15564; live proof still pending there). Nothing was changed on the laptop by this check. This issue should close once CF-3's D1 export runs and its staleness alarm lands.
Generated by Claude Code
MetadataMetadatastray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)stray/needs-parentStray work with no appropriate parent/epic/design yet (AUDIT-7 Lane 7) DevelopmentNo branches or pull requestsIssue actions
|