Skip to content

feat(runtime): validate BackendPlan before install - #464

Merged
zzylol merged 1 commit into
mainfrom
feat/validated-backend-plan-runtime
Sep 3, 2026
Merged

zzylol merged 1 commit into
mainfrom
feat/validated-backend-plan-runtime

Conversation

@zzylol

@zzylol zzylol commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • validate materialization identity and window invariants
  • reject routes that reference undeclared materializations
  • validate before atomic plan installation
  • preserve the previous active snapshot on rejection
  • return HTTP 422 for semantically invalid plans

Validation

  • cargo test -p control_plane backend_plan --lib (21 passed)
  • cargo test -p data_plane hot_reload_backend_plan --lib (4 passed)
  • git diff --check

Stack

Depends on #463.

@zzylol
zzylol changed the base branch from feat/backend-plan-query-routing to main September 3, 2026 02:54
@zzylol
zzylol merged commit 9ecb4fc into main Sep 3, 2026
1 check passed
@zzylol
zzylol deleted the feat/validated-backend-plan-runtime 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