Skip to content

Acquire immutable maintenance input cohorts before publication - #662

Merged
zzylol merged 1 commit into
mainfrom
feat/maintenance-input-cohort
Sep 11, 2026
Merged

zzylol merged 1 commit into
mainfrom
feat/maintenance-input-cohort

Conversation

@zzylol

@zzylol zzylol commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Why

Multi-input maintenance must acquire every completed source before reserving output.

What

Add a private, deterministic acquisition path over the existing frozen-input type and route the current single-source consumer through it.

How

Validate the exact installed input-definition set, reject duplicate physical populations, sort inputs by definition/SID/group, read every durable window, and recheck the shared catalog generation. Failure returns no partial cohort and performs no publication.

Before this PR

The maintenance consumer acquired one source directly.

After this PR

The storage boundary can acquire multiple requested source populations as one read set. Existing execution capability gates remain in place.

Verification

Three actual-sketchlib-139 storage tests passed, covering two durable definitions, a missing second window, catalog transition, deterministic group ordering, duplicate/missing inputs, and existing restart/publication guards.

Limits

This is input acquisition only. All-source publication revalidation, complete population routing, multi-frontier execution, continuous watermarks, and sliding scheduling remain subsequent layers. No new wire DTO or broader execution claim.

@zzylol
zzylol marked this pull request as ready for review September 11, 2026 18:01
@zzylol
zzylol merged commit 204c110 into main Sep 11, 2026
1 check 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