-
Notifications
You must be signed in to change notification settings - Fork 0
feat(control-plane): migrate latest ASAPPlanner IR into the physical compiler boundary #448
Copy link
Copy link
Closed
Labels
area: control planePlanning, configuration, routing, and control-plane orchestrationPlanning, configuration, routing, and control-plane orchestrationarea: physical compilerCompilation from selected logical plans to executable backend and Collector plansCompilation from selected logical plans to executable backend and Collector plansenhancementNew feature or requestNew feature or requestfeature: warm summariesASAP warm-tier materialization, readiness, and servingASAP warm-tier materialization, readiness, and servingintegration: ASAPPlannerASAPPlanner API, IR, candidate, and selected-plan integrationASAPPlanner API, IR, candidate, and selected-plan integration
Description
Activity
Metadata
Metadata
Assignees
Labels
area: control planePlanning, configuration, routing, and control-plane orchestrationPlanning, configuration, routing, and control-plane orchestrationarea: physical compilerCompilation from selected logical plans to executable backend and Collector plansCompilation from selected logical plans to executable backend and Collector plansenhancementNew feature or requestNew feature or requestfeature: warm summariesASAP warm-tier materialization, readiness, and servingASAP warm-tier materialization, readiness, and servingintegration: ASAPPlannerASAPPlanner API, IR, candidate, and selected-plan integrationASAPPlanner API, IR, candidate, and selected-plan integration
Goal
Implement the public boundary documented in
docs/developer_docs/control-plane/physical-compiler.md: consume the latest ASAPPlanner selected post-ASAP workload plan and compile one cross-validated bundle containing CollectorPlan projections and BackendPlan.Why this is separate
The backend currently pins ASAPPlanner at
cb70086. A compatibility audit against latestmainatc58eadffound a whole-interface migration, not a safe dependency-only bump.cargo check -p control_planereports broad API breakage when bumped directly.Required mapping
SummaryExpr::KeepPreAsapand current pre-ASAP node vocabularySummaryAgg.familywith the newSketchKind { category, algorithm, params }modelReduction::PerEntityvsReduction::Reduce { by: [] }GroupingStrategyincluding shared multi-subpopulation layoutsSummaryMaintenanceMode::{DirectBuild, Incremental}in deployment policySummaryMergewithout changing logical semanticsPublic API acceptance
Implement the documented
PlannerAdapter,PhysicalCompiler, andCompiledPlanBundleboundary (or update the documentation in the same change if upstream public names differ). Cross-plan validation must prove every collector-produced materialization has a compatible backend declaration and every query route references a declared materialization.Tests
This issue follows the docs ownership rule: ASAPPlanner owns logical mapping; ASAPQuery-backend owns deployment-specific physical compilation.