Repository navigation
Conversation
…ecution stack The backend now executes ASAPPlanner's selected PhysicalASAPDAG as given (#509): the Planner runs Stages 0-3, the backend supplies capabilities. - Pin the Planner's #509 stack (b517fbf2): asap-types, asap-frontend-promql, asap-plan-selection, asap-executor. - control_plane: plan a PromQL PlanningWorkload with plan_stages and write the selected DAG with the query each root answers (plan.json). - data_plane: load and validate plan.json, accept Remote Write, forward queries to Prometheus until the query engine lands. - Remove the backend's own plan selection, placement pricing, ERP, SDS, precompute and query engines, ClickHouse, OTel and OpAMP paths, which were built on the removed Planner APIs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack 1/5 for executing ASAPPlanner's physical ASAP DAG (#509's output and boundary definition). Next: #819.
Before this PR
The backend selected its own plans, with its own ERP, SDS, precompute and query engines, ClickHouse, OTel and OpAMP. Each part pinned a different ASAPPlanner revision, so none of it ran the plan the Planner selects.
After this PR
The Planner selects the plan; the backend executes it as given.
PlanningWorkloadwith the Planner'splan_stages(Stages 0–3) under the backend'sDeploymentCapabilities(query-time retention off). It writesplan.json(InstalledPlan): the selectedPhysicalASAPDAGplus the query each root answers.asap-types,asap-frontend-promql,asap-plan-selectionandasap-executor, pinned at the demo stack headb517fbf2(ASAPPlanner#641).examples/holds test(promql): enforce range step parity in production E2E #509's PromQL examples 1, 3a, 3b, 4a and 4b as workload JSON.crates/,docs/,demos/,tools/and the Python package.Supersedes #788–#812, #791 and #779. Those pinned different Planner revisions and did their own selection.
Notes
main.PhysicalASAPDAGholdsRcs and isn'tSend, so the data plane keeps the plan on one engine thread.Testing
cargo test -p control_plane -p data_plane, plus fmt and clippy.🤖 Generated with Claude Code