Skip to content

v0.7.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@hardbyte hardbyte released this 06 May 02:55
· 121 commits to main since this release

v0.7.0-beta.2

This beta fixes two operator plan-lifecycle issues that showed up with large brownfield policies.

Fixed

  • Large redacted plan SQL previews no longer exceed Kubernetes ConfigMap limits. Small previews stay inline, large previews are stored as gzip-compressed ConfigMap binaryData, and exceptionally large incompressible previews fall back to a truncated inline preview while apply still renders executable SQL from the in-memory change set. (#98)
  • Status-less PostgresPolicyPlan resources and orphaned plan SQL ConfigMaps are cleaned up defensively. The operator now persists SQL artifacts before making plans visible, cleans stale status-less plans and orphaned SQL ConfigMaps before and after reconcile, and collects stale policy-labeled SQL ConfigMaps left behind by older versions. (#99)
  • Added a TLA+ model for plan SQL persistence ordering and cleanup liveness, covering no visible plan before SQL artifact persistence, at most one actionable plan, and eventual cleanup of stale status-less plans and orphan artifacts.

Validation

  • PR CI green for lint, unit tests, PG16/17/18 integration tests, Docker smoke tests, and all E2E suites.
  • Release bump validated locally with cargo check --workspace, cargo test --workspace, cargo fmt --all -- --check, SQLX_OFFLINE=true cargo clippy --all-targets --all-features -- -D warnings, scripts/check-crd-drift.sh, and git diff --check.

What's Changed

Full Changelog: v0.7.0-beta.1...v0.7.0-beta.2