Skip to content

Fleet queue backup failing silently #10296

Open

Description

@dezren39

Found 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.

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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.

  3. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    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.

  4. removed their assignment
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions