Skip to content

refactor(planner): use post-ASAP IDs for lifecycle deployments - #376

Merged
zzylol merged 1 commit into
mainfrom
refactor/lifecycle-dag-identity
Sep 10, 2026
Merged

refactor(planner): use post-ASAP IDs for lifecycle deployments#376
zzylol merged 1 commit into
mainfrom
refactor/lifecycle-dag-identity

Conversation

@zzylol

@zzylol zzylol commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Lifecycle deployments used a second SummaryAgg-only ordinal named summary_index, even though the post-ASAP DAG already assigns each semantic node a typed identity. That ordinal could not be safely compared with graph node IDs. The lifecycle result also called a provider window implementation key a physical deployment ID, crossing the backend ownership boundary.

This derives every lifecycle deployment's real PostAsapNodeId from the same DAG compilation and removes the duplicate ordinal. It renames the planner field to selected_window_implementation_id; the existing JSON field name remains as a documented compatibility adapter until the export receives a version bump. This identity remains scoped to one plan and is deliberately distinct from both SummaryDefinitionId and SummaryInstanceId; no SID alias is introduced.

Stacked on #375.

Validation: CARGO_INCREMENTAL=0 cargo check -p asap-aware-mapping --lib (the focused tests passed before this identity-only change; a subsequent local test build was blocked by host disk exhaustion).

@zzylol
zzylol force-pushed the refactor/canonical-lifecycle-wire branch from f146b57 to 7d114d8 Compare September 10, 2026 14:01
@zzylol
zzylol force-pushed the refactor/lifecycle-dag-identity branch from 1868908 to c72e3b7 Compare September 10, 2026 14:01
@zzylol
zzylol force-pushed the refactor/canonical-lifecycle-wire branch from 7d114d8 to a348a12 Compare September 10, 2026 14:02
@zzylol
zzylol force-pushed the refactor/lifecycle-dag-identity branch from c72e3b7 to b9930dc Compare September 10, 2026 14:03
@zzylol
zzylol force-pushed the refactor/canonical-lifecycle-wire branch from a348a12 to 4a666cb Compare September 10, 2026 15:57
@zzylol
zzylol force-pushed the refactor/lifecycle-dag-identity branch 2 times, most recently from f734b79 to db57b83 Compare September 10, 2026 16:07
@zzylol
zzylol changed the base branch from refactor/canonical-lifecycle-wire to main September 10, 2026 16:08
@zzylol
zzylol force-pushed the refactor/lifecycle-dag-identity branch from db57b83 to c8226f5 Compare September 10, 2026 16:08
@zzylol
zzylol merged commit b889274 into main Sep 10, 2026
3 of 4 checks passed
@zzylol
zzylol deleted the refactor/lifecycle-dag-identity branch September 10, 2026 16:15
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