Skip to content

fix: make source health reliable after failures and restarts - #146

Merged
tnunamak merged 6 commits into
mainfrom
local/uat-final-0811
Aug 15, 2026
Merged

fix: make source health reliable after failures and restarts#146
tnunamak merged 6 commits into
mainfrom
local/uat-final-0811

Conversation

@tnunamak

@tnunamak tnunamak commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What changed

This PR brings the UAT hardening work onto current main as one reviewed change. Source health now uses the newest completed collection result: active work can show progress, but it cannot hide a newer failure. Checkpoint and coverage evidence remain durable across retries, cancellation, restarts, and storage-generation races, with SQLite and PostgreSQL behavior aligned.

The change includes the runtime and connector contract fixes, manifest-derived setup and coverage behavior, local-collector boundaries, safer failure classification and redaction, durable run recovery, owner-facing navigation, and the backup inventory/restore correction needed for the assembled schema.

Exact candidate

c1bdb483867a76d3406d9d05c08d1d3b252077b8

The pushed branch, UAT image tag, and PDPP_REFERENCE_REVISION all match this SHA. The revision appears exactly once in the UAT container environment.

Verification

  • Retained-volume UAT: 13/13 checks passed on boot and 13/13 passed after an explicit container restart.
  • Fresh PostgreSQL 16 inventory and dump/restore rehearsal: 10 passed, 0 failed, 0 skipped.
  • Stopped SQLite durable-table backup check passed.
  • Recency verifier: 6 passed, 0 failed.
  • Changed backup-policy files passed Biome and git diff --check.
  • No production database or volume was used by the restore rehearsal.

The backup correction keeps consent exchange state backup-required until an executable crash-recovery proof exists, handles lazy PostgreSQL tables explicitly, and fails closed on unproved non-backup classifications.

Release status

The retained-volume and assembled backup/restore gates are complete. This PR is ready for exact-head CI and final merge review. The old production connection-metadata investigation is separate from this code release and is not represented as resolved here.

Assisted-by: AI

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pdpp Ready Ready Preview Aug 15, 2026 1:15pm

Request Review

Reconcile the UAT hardening train with current main, preserve durable source-health evidence across retries and restarts, and align connector and runtime contracts.\n\nAssisted-by: AI

Signed-off-by: Tim Nunamaker <tnunamak@gmail.com>
@tnunamak
tnunamak force-pushed the local/uat-final-0811 branch from d89d8cb to f537163 Compare August 15, 2026 03:47
@tnunamak tnunamak changed the title fix: land UAT-hardened source health and durability stack fix: make source health reliable after failures and restarts Aug 15, 2026
Account for the stream-health authority test, normalize connector package metadata, and keep the new local-collector tests in formatter order.

Assisted-by: AI
Signed-off-by: Tim Nunamaker <tnunamak@gmail.com>
Keep workflow and package test entrypoints under the canonical scratch runner and apply the repository formatter to the affected manifests.

Assisted-by: AI
Signed-off-by: Tim Nunamaker <tnunamak@gmail.com>
Use the native scratch owner and pinned Node runtime in the Docker matrix so the core image test does not depend on pnpm being installed in that job.\n\nAssisted-by: AI

Signed-off-by: Tim Nunamaker <tnunamak@gmail.com>
Handle PostgreSQL lazy and SQLite-only tables explicitly, require unproved tables to remain backup-required, and make live dump/restore use server-major-compatible client tooling.

Assisted-by: AI
Signed-off-by: Tim Nunamaker <tnunamak@gmail.com>
Treat consent exchange rows as backup-required until an executable crash-recovery proof exists.

Assisted-by: AI
Signed-off-by: Tim Nunamaker <tnunamak@gmail.com>
@tnunamak
tnunamak merged commit 160d78c into main Aug 15, 2026
18 checks passed
@tnunamak
tnunamak deleted the local/uat-final-0811 branch August 15, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant