Skip to content

Bind verified connectivity to Preview receipts - #378

Merged
aRustyDev merged 1 commit into
mainfrom
codex/preview-connectivity-receipt
Nov 24, 2026
Merged

aRustyDev merged 1 commit into
mainfrom
codex/preview-connectivity-receipt

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

Summary

  • add a fail-closed constructor from a verified dedicated Hyperdrive/VPC result to a ready Preview receipt
  • require the verified Hyperdrive name to equal the lease-derived identity
  • reject pre-ready leases and swapped Preview connectivity before persistence

Validation

  • cargo fmt --all --check
  • cargo clippy -p thrust-preview-provisioner --all-targets -- -D warnings
  • cargo nextest run -p thrust-preview-provisioner (23 passed; nextest reported an existing leaky property test)

This remains a pure contract. A Kubernetes-side controller must still obtain live CNPG/Cloudflare facts, persist the receipt, and materialize the VPC Terraform map.

@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 24, 2026 02:46 — with GitHub Actions Inactive
@aRustyDev
aRustyDev merged commit 1ce4e0f into main Nov 24, 2026
22 checks passed
@aRustyDev
aRustyDev deleted the codex/preview-connectivity-receipt branch November 24, 2026 03:05

This branch was previously deployed

1 inactive deployment
preview-control-plane — 4769dd80 Deployed Nov 24, 2026 by aRustyDev via reconcile #785
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