Repository navigation
Conversation
This was referenced Oct 2, 2026
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 2, 2026 18:32
6c2c313 to
2bd4c4d
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
2 times, most recently
from
October 2, 2026 19:40
2a3bcd0 to
a03efc2
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
2 times, most recently
from
October 2, 2026 21:14
78b6dc3 to
e40ffdb
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 2, 2026 21:14
a03efc2 to
2c708f3
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 2, 2026 21:22
e40ffdb to
8b2dfff
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
2 times, most recently
from
October 2, 2026 21:25
03166e7 to
4b84314
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 2, 2026 21:25
8b2dfff to
5f9d447
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 2, 2026 21:56
4b84314 to
d9da0f9
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 2, 2026 21:56
5f9d447 to
cc36ea0
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 3, 2026 02:31
d9da0f9 to
ec9f8cb
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 3, 2026 02:31
cc36ea0 to
fe7d713
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 3, 2026 02:39
ec9f8cb to
95eef55
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 3, 2026 02:39
fe7d713 to
0f6e7e4
Compare
This was referenced Oct 3, 2026
Contributor
Author
|
Follow-up: the module/crate reorganization by #509 stages and the #511 IR (removing 🤖 Generated with Claude Code |
zzylol
marked this pull request as draft
October 3, 2026 20:02
zzylol
force-pushed
the
stack/528-07-planner
branch
2 times, most recently
from
October 3, 2026 20:48
74b4884 to
e629370
Compare
zzylol
added a commit
that referenced
this pull request
Oct 3, 2026
Re-applies the documentation half of the earlier legacy cleanup (#543) on the revised stack, resolving conflicts in favor of the current text where it is newer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
added a commit
that referenced
this pull request
Oct 3, 2026
Re-applies the viewer half of the earlier legacy cleanup (#543): the viewer categorizes exactly the NonASAPOp/ASAPOp kind names, its fixtures use the unified export, and devtools/tests/viewer_contract.rs pins the viewer's category table to every operator variant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 3, 2026 21:27
0f6e7e4 to
e529b6e
Compare
4 of 5 tasks
zzylol
added a commit
that referenced
this pull request
Oct 6, 2026
Re-applies the viewer half of the earlier legacy cleanup (#543): the viewer categorizes exactly the NonASAPOp/ASAPOp kind names, its fixtures use the unified export, and devtools/tests/viewer_contract.rs pins the viewer's category table to every operator variant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 6, 2026 17:47
0c62c4a to
e153234
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 6, 2026 17:47
10ef511 to
843f37b
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 6, 2026 20:02
e153234 to
9d9bff2
Compare
zzylol
added a commit
that referenced
this pull request
Oct 6, 2026
Re-applies the documentation half of the earlier legacy cleanup (#543) on the revised stack, resolving conflicts in favor of the current text where it is newer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
added a commit
that referenced
this pull request
Oct 6, 2026
Re-applies the viewer half of the earlier legacy cleanup (#543): the viewer categorizes exactly the NonASAPOp/ASAPOp kind names, its fixtures use the unified export, and devtools/tests/viewer_contract.rs pins the viewer's category table to every operator variant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 6, 2026 20:04
843f37b to
dcd5ce1
Compare
zzylol
added a commit
that referenced
this pull request
Oct 6, 2026
Re-applies the documentation half of the earlier legacy cleanup (#543) on the revised stack, resolving conflicts in favor of the current text where it is newer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
added a commit
that referenced
this pull request
Oct 6, 2026
Re-applies the viewer half of the earlier legacy cleanup (#543): the viewer categorizes exactly the NonASAPOp/ASAPOp kind names, its fixtures use the unified export, and devtools/tests/viewer_contract.rs pins the viewer's category table to every operator variant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 6, 2026 20:17
9d9bff2 to
dbbf4c7
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 6, 2026 20:17
dcd5ce1 to
d2890b5
Compare
zzylol
added a commit
that referenced
this pull request
Oct 6, 2026
Re-applies the documentation half of the earlier legacy cleanup (#543) on the revised stack, resolving conflicts in favor of the current text where it is newer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
added a commit
that referenced
this pull request
Oct 6, 2026
Re-applies the viewer half of the earlier legacy cleanup (#543): the viewer categorizes exactly the NonASAPOp/ASAPOp kind names, its fixtures use the unified export, and devtools/tests/viewer_contract.rs pins the viewer's category table to every operator variant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 6, 2026 20:48
dbbf4c7 to
fa46076
Compare
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 6, 2026 20:48
d2890b5 to
a0c9c01
Compare
The planner emits the unified operator IR end to end, so the old pre-ASAP QueryExpr DAG, its resolver/canonicalizer/CSE, and the post-ASAP SummaryExpr/PostAsapDAG modules have no live consumers left. - Move the operator parameter types (GroupKeys, Reduction, Source, ...) into ir/operator_properties.rs; pre_asap re-exports them. - Drop QueryExpr paths from execution_data_state, maintained_population, agg_intent, column_resolution, scalar_type_rules and pre_asap/schema. with_promql_series_identity keeps only its OperatorNode version in ir/schema_support.rs. - Delete the undeclared unified/ frontend dirs, unified_physical_planner, unified_sources, expressions/unified_planner.rs and readout.rs. - Migrate planner_vocabulary.rs off SchemaResolver; fix the scalar_type_rules_fail_closed test name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-applies the documentation half of the earlier legacy cleanup (#543) on the revised stack, resolving conflicts in favor of the current text where it is newer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-applies the viewer half of the earlier legacy cleanup (#543): the viewer categorizes exactly the NonASAPOp/ASAPOp kind names, its fixtures use the unified export, and devtools/tests/viewer_contract.rs pins the viewer's category table to every operator variant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stage 2 materialization (#509) will decide per sub-DAG whether and when to materialize, so the Planner no longer chooses a maintenance lifecycle. - MajorPass now runs search_workload_with_targets -> global_selection -> assemble_selected_dag per root -> share_common_sub_dags. - QueryLifecyclePlan becomes QueryPlan { entry_index, root }; PlanOutput's execution_timed_dag times the roots directly. LifecycleInput, the lifecycle errors and UserInput's `lifecycle` field are gone (public API break). - Delete summary_maintenance_lifecycle, summary_maintenance_cost, summary_maintenance_dag_export, post_asap::{summary_maintenance, summary_maintenance_lifecycle} and SummaryWindowFramework (the pane primitives stay), the lifecycle CostModel hooks, CandidateCostOverrides and EmpiricalEvidenceProvider::lifecycle_cost_inputs. - Delete the lifecycle e2e test and the viewer's lifecycle-plan UI; rewire e2e_plan, summary_sharing, operator_design_examples and weighted_topk_binding to the new pipeline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rename LifecycleAssignment to MaterializationAssignment and apply_lifecycle_timings to apply_materialization_timings. The default assignment is now all_query_time(): nothing is materialized until Stage 2 materialization (#509) decides per sub-DAG. all_ingestion_time() and set() assign maintenance explicitly. - validate_default becomes validate_maintained: candidate legality is still checked with every summary maintained, so candidate generation is unchanged. planned_data_state and fixed_window_rate_candidates use the same maintained assumption, and the maintained precompute compilers in promql_rows assign ingestion time explicitly. - PlanOutput::execution_timed_dag, show_post_asap_ir and the default test helpers now emit query-time summaries. - Tests that exercise maintenance assign it explicitly (new `maintained` helpers); a new unit test pins the query-time default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ime default Remove the lifecycle APIs, recipes and viewer section from the docs, delete the workload-demand-and-summary-lifecycle proposal, and point materialization questions to Stage 2 (#509). Rename LifecycleAssignment/apply_lifecycle_timings/ validate_default to their new names and describe the all-query-time default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow #537: the remaining tests read Operator<NodeId> payloads from the physical DAG, and docs name ir::flat / ir::physical_export instead of the removed ir::export. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zzylol
force-pushed
the
stack/528-08-cleanup
branch
from
October 6, 2026 22:16
a0c9c01 to
95f1f36
Compare
zzylol
force-pushed
the
stack/528-07-planner
branch
from
October 6, 2026 22:16
fa46076 to
67800ba
Compare
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.
Rebased on main d4869a7 (DF 54).
Rebuilt on the revised stack (2026-10-03)
Old #543 deleted files that no
moddeclared. On the revised stack those legacy modules were still compiled, and parts of the new IR depended on them. This version therefore migrates code first, then deletes it. It also removes the summary maintenance lifecycle: #509 Stage 2 materialization will decide, per sub-DAG, whether to materialize and at ingestion or query time. Seven commits, 144 files, +2,248 / −36,405:QueryExpr/SummaryExprIRs. Parameter types (GroupKeys,Reduction,Source, …) move toir/operator_properties.rs, and their users are migrated. Deleted:pre_asap/{query_expr, cse, canonicalize, resolve, schema_resolver},post_asap/{expr, cse, post_asap_dag}, and the undeclaredunified*leftovers.summary_maintenance_lifecycle,summary_maintenance_cost/, its DAG export,post_asap::{summary_maintenance, summary_maintenance_lifecycle},SummaryWindowFrameworkand the lifecycle e2e test.MajorPassbecomes plain cost-only selection plus assembly. The pane primitives stay, for Pass 2 window composition.LifecycleAssignmentis renamedMaterializationAssignment, and the default is all query time: nothing is materialized until Stage 2 owns that decision. Tests that exercise maintenance now assign ingestion time explicitly.Behavior and API changes:
UserInput::new/OptimizationInput::newdrop the lifecycle argument, andQueryLifecyclePlanbecomesQueryPlan.Tests: 234 tests were deleted, each living in a deleted legacy file or testing only the lifecycle; rewired tests are listed in the commits. One new test pins the default (
default_assignment_materializes_nothing). Independently re-run: fmt and clippy with-D warningsare clean, andcargo test --workspacegives 1,511 passed, 0 failed, 2 ignored.Revised Phase A stack (see #528): #567 → #560 → #537 → #539 → #540 → #541 → #542 → #543. The pre-rebuild description is in the PR history.
🤖 Generated with Claude Code