Skip to content

feat(precompute): install ingest, schema, and producer contracts - #475

Merged
zzylol merged 3 commits into
mainfrom
feat/precompute-runtime-contract
Sep 4, 2026
Merged

zzylol merged 3 commits into
mainfrom
feat/precompute-runtime-contract

Conversation

@zzylol

@zzylol zzylol commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

  • Make PrecomputePlan the authoritative runtime ingest/schema/producer contract installed with the PhysicalPlan.
  • Describe /v1/metrics identity requirements, allowed producers, exact state family/parameters, source/value column, SID grouping layout, window shape, and supported encodings.
  • Cross-validate every schema against BackendPlan during compile and atomic install.
  • Deduplicate shared physical materializations by policy fingerprint so multiple readouts can reuse one maintained state without failing plan validation.
  • Rebased on feat(plan): add versioned staged activation #474 and the node-bound DAG executor in feat(query): execute authoritative QueryPlan #472.

Verification:

  • cargo check -p control_plane -p data_plane
  • shared-materialization regression test passes
  • tampered-schema cross-plan validation test passes
  • git diff --check

Stack 3/N. Please do not merge independently of #472/#474.

@zzylol
zzylol force-pushed the feat/plan-version-staged-activation branch from cc1d9cd to 3cfab59 Compare September 3, 2026 04:57
@zzylol
zzylol force-pushed the feat/precompute-runtime-contract branch from e14ed19 to f86e858 Compare September 3, 2026 04:57
@zzylol
zzylol force-pushed the feat/plan-version-staged-activation branch from 3cfab59 to c9267bd Compare September 3, 2026 14:24
@zzylol
zzylol force-pushed the feat/precompute-runtime-contract branch from f86e858 to 1db430e Compare September 3, 2026 14:26
@zzylol
zzylol force-pushed the feat/plan-version-staged-activation branch from c9267bd to eb4c70a Compare September 3, 2026 19:53
@zzylol
zzylol force-pushed the feat/precompute-runtime-contract branch from 1db430e to ae4dd7f Compare September 3, 2026 19:58
@zzylol
zzylol force-pushed the feat/plan-version-staged-activation branch from eb4c70a to 55727a9 Compare September 3, 2026 20:36
@zzylol
zzylol force-pushed the feat/precompute-runtime-contract branch 2 times, most recently from 48ad0fe to 12cd258 Compare September 3, 2026 20:41
@zzylol
zzylol force-pushed the feat/plan-version-staged-activation branch from 824e819 to 489f5cd Compare September 4, 2026 02:54
@zzylol
zzylol force-pushed the feat/precompute-runtime-contract branch from 12cd258 to 0cdbf55 Compare September 4, 2026 02:56
@zzylol
zzylol force-pushed the feat/plan-version-staged-activation branch from 489f5cd to 7b89b1c Compare September 4, 2026 03:25
@zzylol
zzylol force-pushed the feat/precompute-runtime-contract branch from 0cdbf55 to 11306d0 Compare September 4, 2026 03:25
@zzylol
zzylol changed the base branch from feat/plan-version-staged-activation to main September 4, 2026 03:42
@zzylol
zzylol merged commit 2d46e96 into main Sep 4, 2026
1 check passed
@zzylol
zzylol deleted the feat/precompute-runtime-contract branch September 12, 2026 14:48
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