Skip to content

refactor!: align candidate and DAG assembly API names (#456) - #457

Merged
zzylol merged 2 commits into
docs/issue-438-planner-contractfrom
refactor/issue-456-interface-names
Sep 22, 2026
Merged

zzylol merged 2 commits into
docs/issue-438-planner-contractfrom
refactor/issue-456-interface-names

Conversation

@zzylol

@zzylol zzylol commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Why

Closes #456. Align the remaining candidate/selection and assembly names with the input/output/workflow design. #453 handles the integration facade separately.

Before this PR

An integration used space.groups() and selection.groups() for two different concepts, and an assembly failure was named MaterializeSummaryMaintenanceLifecycleError, suggesting runtime materialization.

After this PR

  • space.target_subdag_candidates() / candidates_for_target(...) expose alternatives.
  • selection.target_selections() returns TargetSubDAGSelection decisions.
  • SummaryMaintenanceLifecycleAssemblyError::AssembleDag describes DAG assembly failures.
  • Private assembly helpers/cache use assembly terminology. Imports, callers, tests and docs migrate together; SQL grouping and physical materialization are unchanged.

This is a breaking Rust source rename, not a planning behavior change. The migration table is in docs/develop_docs/target-candidate-api-migration.md. Downstream callers must update these symbols; no compatibility aliases or serialized schema changes.

Validation

  • cargo test --workspace passed.
  • cargo fmt --all and git diff --check passed.
  • Old public names are retained only in the explicit migration table.

Dependency

Stacked on #445 (docs/issue-438-planner-contract) because that PR contains the prerequisite names and design. Retarget to main after #445 merges. This PR is separate from the #453 API entry-point work.

@zzylol
zzylol merged commit 6317e2b into docs/issue-438-planner-contract Sep 22, 2026
2 checks passed
Selvomega added a commit that referenced this pull request Sep 29, 2026
Cherry-pick of the PR #458 merge commit (4dd64e5) onto main. PR #458 was
merged into refactor/issue-456-interface-names after that branch had
already reached main via #457 and #445, so its content never landed on
main. Adds the asap-planner facade crate (#429), the pluggable
optimization pass (#430), and the ParsedWorkload boundary type.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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