Pre-GA Readiness Checklist
Purpose: Formal acceptance gate for declaring v1.0.0 Production GA.
Complete every item and record the result before cutting the GA tag.
1. TLS Configuration
-
Verify
sslmodeis set appropriately for your PostgreSQL deployment:- Development:
sslmode=disable(explicit plaintext override only) - Staging/Production:
sslmode=requireorsslmode=verify-full(required)
- Development:
-
If using
sslmode=require, compile with the namedcoreprofile, which includesnative-tls. -
Run
pg-tide doctorand confirm:[OK] TLS connection: TLSv1.2orTLSv1.3. -
Cloud-managed PostgreSQL services (RDS, Cloud SQL, Azure Database) behind a TLS proxy work without the
native-tlsfeature.
2. Outbox retention and storage
- Run the named operational profile matching payload size, pipeline count, sink, and PostgreSQL settings; attach its raw JSON result.
- Reserve disk for the measured retained-row size, WAL, vacuum headroom, and the configured sink-outage window.
-
Verify
tide.outbox_retention_statushas no unexplained blockers andtide.relay_pipeline_lagis exact and converging. -
Run
tide.outbox_sweep(NULL, 1000, TRUE)and review blockers before scheduling bounded cleanup. -
If using partitions, verify
tide.outbox_storage_configreportsid_range, the default partition is empty, and the canonical query prunes old children.
3. Consumer Group Setup
-
Register consumer groups for each pipeline using
tide.consumer_group_create(). - Verify committed offsets advance after test message delivery.
-
Confirm
tide.poll_outbox()correctly prunes partitions viaWHERE id > $last_offset. -
For multi-tenant deployments: verify
tenant_nameis set correctly inrelay_outbox_config.
4. DLQ Monitoring Thresholds
-
Set
--dlq-warn-threshold(default: 100 per hour) appropriate for your data quality SLA. -
Confirm
tide.relay_dlqhas an alert in your monitoring stack for entries older than your max retry window. -
Test DLQ replay procedure: run
pg-tide replay dlq-requeueagainst a staging deployment. -
Verify
pg_tide_relay_dlq_entries_written_totalmetric is visible in your Prometheus/Grafana stack.
5. pg-tide doctor Output Interpretation
Run pg-tide doctor --postgres-url $PG_TIDE_POSTGRES_URL and verify all lines are [OK]:
pg-tide doctor v0.25.0
[OK] Connected to PostgreSQL
[OK] TLS connection: TLSv1.3
[OK] Schema 'tide' exists
[OK] Table tide.tide_outbox_config
[OK] Table tide.relay_outbox_config
...
[OK] DLQ hourly rate: 0 (threshold: 100)
[OK] relay_consumer_offsets.last_change_id column present
[OK] Advisory lock acquisition succeeded
[OK] LISTEN on tide_relay_config permitted
pg-tide doctor: all checks passed.
Expected warnings (non-blocking):
[INFO] Connection is plaintext— acceptable in private-network deployments.
Blocking failures (must resolve before GA):
[FAIL] Schema 'tide' not found[FAIL] Table tide.relay_dlq missing[FAIL] LISTEN on tide_relay_config denied
6. Helm Security Context Review
-
runAsNonRoot: trueandrunAsUser: 1000are set in the Deployment spec. -
readOnlyRootFilesystem: trueis set (requires/tmpto be a writable emptyDir volume). -
allowPrivilegeEscalation: falseis set. -
PodDisruptionBudgetis configured withminAvailable: 1for HA deployments. -
ServiceMonitoris configured and Prometheus is scraping/metrics.
7. Benchmark Baseline Validation
-
Run
just benchand confirm no regressions vs the committed baseline. -
outbox_poll_decodeat 1kb batch: baseline < 5ms. -
inbox_unnest_paramsat 1000 rows: baseline < 1ms. -
worker_inner_orchestrationat 1000 messages: baseline < 10ms.
If benchmarks regress by more than 10%, investigate before declaring GA.
8. Rollback Procedure
If a v1.0.0 deployment needs to be rolled back to v0.25.0:
- Stop the relay:
kubectl rollout undo deployment/pg-tide-relay - Verify no schema changes are breaking:
pg-tide doctorshould pass with the v0.25.0 schema. - If the outbox was converted to partitioned: the old backup table is preserved at
tide.tide_outbox_messages_backup_{outbox_name}— no rollback SQL needed. - All consumer offsets are preserved: polling resumes from the last committed offset.
Acceptance Sign-off
| Category | Status | Notes |
|---|---|---|
| TLS configuration | ☐ | |
| Outbox partitioning | ☐ | |
| Consumer group setup | ☐ | |
| DLQ monitoring | ☐ | |
pg-tide doctor clean | ☐ | |
| Helm security contexts | ☐ | |
| Benchmark baseline | ☐ | |
| Rollback procedure tested | ☐ |
Once all items are checked, cut the v1.0.0 tag.
v1.0.0 GA Acceptance Criteria (from assessment cycle 6)
The following items must be resolved before v1.0.0 GA. Track resolution version in the Resolved in column.
Must-do (P0 blockers)
| Item | Description | Resolved in |
|---|---|---|
| Stability contract documented | docs/src/stability-guarantees.md published | v0.33.0 |
| KMS envelope encryption foundation | ADR-010 written, SQL schema added, feature-gated Rust trait skeleton | v0.33.0 |
| Positional SQL APIs deprecated | relay_set_outbox / relay_set_inbox 6/8-param forms emit SQL NOTICE | v0.30.0 |
| v0.x → v1.0.0 migration guide | Comprehensive rolling-upgrade guide with rollback procedure | v0.33.0 |
| supply-chain hardening | cargo audit suppress list re-evaluated; all 9 entries confirmed optional-dep only | v0.33.0 |
| Lifecycle compatibility gate | Relay pre-flight rejects extensions outside its supported window | v0.51.0 |
Should-do (P1 polish)
| Item | Description | Resolved in |
|---|---|---|
| Inbox fleet dashboard panel | Grafana panel for tide.inbox_status(NULL) added to relay-health.json | v0.33.0 |
pg-tide status --inbox-summary | Fleet inbox summary in status CLI output | v0.33.0 |
just check-stability recipe | Automated check that metric names and schema annotations are stable | v0.33.0 |
| KMS encryption implementation | Actual encryption logic for AwsKms, GcpKms, VaultKms, LocalKeyFile | v1.0.0 |
| Positional SQL APIs removed | Drop the deprecated 6/8-param forms | v1.0.0 |