Skip to content

test(planner): cover exact composition end to end - #315

Open
zzylol wants to merge 3 commits into
feat/exact-composition-plannerfrom
test/exact-composition-e2e
Open

test(planner): cover exact composition end to end#315
zzylol wants to merge 3 commits into
feat/exact-composition-plannerfrom
test/exact-composition-e2e

Conversation

@zzylol

@zzylol zzylol commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Stacked on #314.

Why

Composition crosses frontend lowering, search, costing, materialization, state validation, and export.

Before this PR

No integration suite proved that complete externally visible path.

After this PR

Eleven cases cover both placements. For example, PromQL max by (zone) over quantile_over_time composes and exports read-time rows; an estimate beneath maintenance is rejected.

What and how

Covers accuracy, fallback behavior, shared materialization, multi-row folds, PromQL lowering, invalid transitions, and structured DAG details.

Verification

  • cargo test -p asap-integration-tests --test exact_composition (11 tests)
  • Workspace formatting and clippy

Stack

Base: #314. Next: #312.

@zzylol
zzylol force-pushed the feat/exact-composition-planner branch from 8d33043 to 5859f35 Compare August 30, 2026 18:21
@zzylol
zzylol force-pushed the test/exact-composition-e2e branch from 12b30fc to 4831b43 Compare August 30, 2026 18:21
@zzylol
zzylol force-pushed the feat/exact-composition-planner branch from 5859f35 to c4135df Compare August 30, 2026 18:30
@zzylol
zzylol force-pushed the test/exact-composition-e2e branch from 4831b43 to bd898fd Compare August 30, 2026 18:30
@zzylol
zzylol force-pushed the feat/exact-composition-planner branch from c4135df to be9b131 Compare August 30, 2026 18:35
@zzylol
zzylol force-pushed the test/exact-composition-e2e branch from bd898fd to ec95e46 Compare August 30, 2026 18:35
@zzylol
zzylol force-pushed the feat/exact-composition-planner branch from be9b131 to 88bced3 Compare August 30, 2026 18:46
@zzylol
zzylol force-pushed the test/exact-composition-e2e branch from ec95e46 to 91fc851 Compare August 30, 2026 18:46
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