feat(workload): normalize query demand and data evidence - #312
Merged
Merged
Conversation
zzylol
force-pushed
the
feat/exact-summary-composition-171
branch
from
August 29, 2026 22:47
b2d6151 to
5b33949
Compare
zzylol
force-pushed
the
feat/workload-summary-lifecycles-300
branch
from
August 29, 2026 22:47
e6f1dba to
c4c6ceb
Compare
zzylol
changed the base branch from
feat/exact-summary-composition-171
to
test/exact-composition-e2e
August 29, 2026 22:48
zzylol
force-pushed
the
test/exact-composition-e2e
branch
from
August 30, 2026 18:21
12b30fc to
4831b43
Compare
zzylol
force-pushed
the
feat/workload-summary-lifecycles-300
branch
from
August 30, 2026 18:21
c4c6ceb to
d08292c
Compare
zzylol
force-pushed
the
test/exact-composition-e2e
branch
from
August 30, 2026 18:30
4831b43 to
bd898fd
Compare
zzylol
force-pushed
the
feat/workload-summary-lifecycles-300
branch
from
August 30, 2026 18:30
d08292c to
98581cc
Compare
zzylol
force-pushed
the
test/exact-composition-e2e
branch
from
August 30, 2026 18:35
bd898fd to
ec95e46
Compare
zzylol
force-pushed
the
feat/workload-summary-lifecycles-300
branch
from
August 30, 2026 18:35
98581cc to
a145f65
Compare
This was referenced Aug 30, 2026
zzylol
force-pushed
the
test/exact-composition-e2e
branch
from
August 30, 2026 18:46
ec95e46 to
91fc851
Compare
zzylol
force-pushed
the
feat/workload-summary-lifecycles-300
branch
from
August 30, 2026 18:46
a145f65 to
9a853f7
Compare
zzylol
force-pushed
the
test/exact-composition-e2e
branch
from
August 30, 2026 19:03
91fc851 to
cc2e874
Compare
zzylol
force-pushed
the
feat/workload-summary-lifecycles-300
branch
from
August 30, 2026 19:03
9a853f7 to
fb430bf
Compare
zzylol
force-pushed
the
feat/workload-summary-lifecycles-300
branch
from
August 30, 2026 21:22
fb430bf to
ae3dfed
Compare
zzylol
changed the base branch from
test/exact-composition-e2e
to
feat/exact-summary-composition-171
August 30, 2026 21:22
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.
Stacked on #300.
Why
Summary-maintenance lifecycle planning decides when materialized summary state
is created, retained, shared, updated, and retired. Those decisions require
normalized evidence about query recurrence and timing, requested latency and
accuracy, data arrival, and evidence freshness.
Before this PR
Planner inputs lacked enough explicit evidence to decide whether summary state
should be built for one query, prepared ahead of time, shared across reads, or
maintained as data arrives.
After this PR
A scheduled dashboard query becomes normalized requirements explicitly bound
to its plan root; SQL and PromQL share the same planner-facing model. This PR
only supplies the workload evidence. #316 uses it to enumerate the concrete
summary-maintenance lifecycle alternatives.
What and how
Verification
cargo test -p asap-types --docStack
Base: #300. Next: #316.