Repository navigation
feat(asap-tools): rqe query protocol and frontend switch for e2e runs #890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
milindsrivastava1997
merged 44 commits into
main
from
884-featasap-tools-rqe-query-protocol-and-frontend-switch-for-e2e-runs
Oct 15, 2026
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
fa57681
feat(asap-common): RQE expression tree type and validation
milindsrivastava1997 d8681d5
feat(planner): --planner saved reads RQE trees and writes rqe_configs
milindsrivastava1997 2138a02
feat(query-engine): answer RQE expression trees on POST /api/v1/rqe_q…
milindsrivastava1997 6e40b81
feat(asap-tools): rqe query protocol and query_engine.frontend switch
milindsrivastava1997 7c77405
feat(asap-common): per-bucket top-k (`topk_by`) on RQE leaves
milindsrivastava1997 c25fd46
Merge branch '880-featasap-common-rqe-expression-tree-type-and-valida…
milindsrivastava1997 f8ae11f
feat(planner): plan a top-k RQE leaf by its `topk_by` buckets
milindsrivastava1997 b80eaf4
Merge branch '882-featplanner-planner-saved-reads-rqe-trees-and-write…
milindsrivastava1997 3236e88
feat(query-engine): rank RQE top-k leaves within their `topk_by` buckets
milindsrivastava1997 b749c3f
Merge branch '883-featquery-engine-rqe-tree-query-route' into 884-fea…
milindsrivastava1997 1b07c83
fix(asap-common): tighten RQE tree validation
milindsrivastava1997 7ef4f7c
Merge branch '880-featasap-common-rqe-expression-tree-type-and-valida…
milindsrivastava1997 2e75152
fix(asap-tools): fail loud when PromQL-only runners get query_engine.…
milindsrivastava1997 1686601
fix(asap-tools): refuse prebuilt planner configs for queries --fronte…
milindsrivastava1997 b74fae7
fix(asap-tools): let fetch_runtime_info errors surface
milindsrivastava1997 396b534
fix(asap-tools): write the RQE side file only for --frontend rqe
milindsrivastava1997 4e469a6
refactor(asap-tools): explain why RQE trees are keyed by unrendered q…
milindsrivastava1997 1cc5f2e
refactor(asap-tools): one constant for the rqe protocol name per package
milindsrivastava1997 a762a00
refactor(asap-tools): mount the querier's debug HTTP adapter once
milindsrivastava1997 beb812f
fix(asap-tools): rqe compose mounts tolerate configs without rqe servers
milindsrivastava1997 786d0f6
refactor(asap-tools): copy the validated RQE side file instead of re-…
milindsrivastava1997 c02311c
fix(asap-tools): fail an rqe response that is not an instant vector
milindsrivastava1997 33ddb10
fix(planner): saved-plan RQE checks per review; add --expr-only
milindsrivastava1997 4a4e9da
Merge branch '882-featplanner-planner-saved-reads-rqe-trees-and-write…
milindsrivastava1997 a791ac5
fix(query-engine): check each RQE leaf against its plan before reading
milindsrivastava1997 246ede3
Merge remote-tracking branch 'origin/883-featquery-engine-rqe-tree-qu…
milindsrivastava1997 60a7844
style(asap-common): state behaviour in duplicate-label test comment
milindsrivastava1997 995f16a
Merge branch '880-featasap-common-rqe-expression-tree-type-and-valida…
milindsrivastava1997 892fad3
fix(asap-tools): rqe compose mounts fail on a missing client config
milindsrivastava1997 da6b110
fix(asap-tools): query-time alignment uses the shared fetch_runtime_info
milindsrivastava1997 2f18617
fix(planner): require rqes with text; --expr-only plans tree leaves only
milindsrivastava1997 10725d9
fix(asap-tools): query-time alignment waits on rqe_configs aggregations
milindsrivastava1997 08b50c6
Merge branch '882-featplanner-planner-saved-reads-rqe-trees-and-write…
milindsrivastava1997 4023959
fix(asap-tools): rqe frontend needs an --expr-only prebuilt plan
milindsrivastava1997 7d76cc8
fix(asap-tools): rqe runs check prebuilt plans against rqe_configs
milindsrivastava1997 25e8e3e
fix(asap-tools): stop the querier start when compose generation fails
milindsrivastava1997 c2064d2
fix(query-engine): refuse RQE leaves their plan can't serve; honour d…
milindsrivastava1997 966aee5
Merge remote-tracking branch 'origin/883-featquery-engine-rqe-tree-qu…
milindsrivastava1997 c2da7dc
Merge remote-tracking branch 'origin/main' into 880-featasap-common-r…
milindsrivastava1997 292f30d
Merge remote-tracking branch 'origin/880-featasap-common-rqe-expressi…
milindsrivastava1997 f051622
Merge remote-tracking branch 'origin/882-featplanner-planner-saved-re…
milindsrivastava1997 ec08182
Merge remote-tracking branch 'origin/883-featquery-engine-rqe-tree-qu…
milindsrivastava1997 eb707ea
fix(asap-tools): unpack build_config's rqe_exprs in random pilot configs
milindsrivastava1997 b94ae08
Merge remote-tracking branch 'origin/main' into 884-featasap-tools-rq…
milindsrivastava1997 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rqe_exprs_mountssilently returns [] when the client config file doesn't exist at generation time, so an rqe server's side file is not mounted.Failure scenario: Compose generated before client configs are rsynced (or wrong path): no rqe_exprs mount, container starts,
RqeQueryClient.__init__raises FileNotFoundError inside it. Sinceprometheus_client_servicerunsgen; docker compose upwith;, nothing fails at generation time.(from automated /code-review; unverified)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 892fad3: a missing client config raises; a config without
serversgives no mounts. The service now chains generation anddocker compose upwith&&(25e8e3e), so a failed generation stops the start.