Skip to content

refactor: share installed producer and publication contracts - #643

Merged
zzylol merged 11 commits into
mainfrom
refactor/shared-producer-plan-contract
Sep 11, 2026
Merged

zzylol merged 11 commits into
mainfrom
refactor/shared-producer-plan-contract

Conversation

@zzylol

@zzylol zzylol commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Installed collector, transmission, and publication contracts must be usable by runtime components without importing control-plane compiler definitions.

This moves their existing wire structures and runtime validation into asap_types. Control-plane compilation, deployment decisions, and accuracy-budget allocation remain in the control plane; existing imports retain compatibility re-exports. Data-plane consumers use the shared contracts directly.

Before this PR: installed producer and publication types belonged to the compiler. Publication validation also confused slide cadence with stored state extent.

After this PR: producers and consumers share one contract, and a 60-second full-window state emitted every 10 seconds passes publication validation using its stored extent.

Verification: 83 shared-type tests, 726 control-plane tests, 1,109 data-plane tests, and the enhanced sliding-layout publication regression passed. Independent ownership review passed.

Stacked on #634. Existing duplicated collector configuration fields are preserved for compatibility and still require a separate catalog-consistency cleanup. No performance claim; screenshots are not applicable.

@zzylol
zzylol changed the base branch from refactor/shared-query-plan-contract to main September 11, 2026 14:56
@zzylol
zzylol marked this pull request as ready for review September 11, 2026 14:56
@zzylol
zzylol merged commit 3dd6ae2 into main Sep 11, 2026
1 of 2 checks passed
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