Skip to content

Add preview cluster receipt contract - #373

Merged
aRustyDev merged 1 commit into
mainfrom
codex/preview-cluster-receipt-contract
Nov 23, 2026
Merged

aRustyDev merged 1 commit into
mainfrom
codex/preview-cluster-receipt-contract

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

Summary

  • derive deterministic per-cluster VPC-service and Hyperdrive names from the trusted preview plan
  • add a ready-only, non-secret receipt carrying the lease, CNPG UID, VPC service ID, and Hyperdrive ID
  • extend the request fuzz target and seed corpus for receipt parsing

The controller must still verify these IDs live before emitting a receipt. This PR does not create cloud resources, expose an endpoint, or change live reconciliation.

Validation

  • cargo fmt --all -- --check
  • cargo clippy -p thrust-preview-provisioner --all-targets -- -D warnings
  • cargo nextest run -p thrust-preview-provisioner --locked
  • scripts/rs cargo check -p thrust-preview-provisioner --target wasm32-unknown-unknown --locked

Control: removing the ready-phase enforcement made cluster_receipt_refuses_non_ready_lease fail; restored before commit.

@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 23, 2026 18:55 — with GitHub Actions Inactive
@aRustyDev
aRustyDev enabled auto-merge (squash) November 23, 2026 18:57
@aRustyDev
aRustyDev merged commit 44985f6 into main Nov 23, 2026
21 checks passed
@aRustyDev
aRustyDev deleted the codex/preview-cluster-receipt-contract branch November 23, 2026 18:59

This branch was previously deployed

1 inactive deployment
preview-control-plane — db99e7a7 Deployed Nov 23, 2026 by aRustyDev via reconcile #745
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