Skip to content

Preserve stack collapse record compatibility#624

Merged
cbusillo merged 1 commit into
mainfrom
fix/stack-collapse-record-compat
May 14, 2026
Merged

Preserve stack collapse record compatibility#624
cbusillo merged 1 commit into
mainfrom
fix/stack-collapse-record-compat

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • load previously stored stack-collapse plans that recorded mutations in root-to-leaf order
  • rebuild missing child disposition guards from already executed mutation results instead of stale entry heads
  • cover both compatibility paths with focused contract tests

Verification

  • uv run python -m unittest tests.test_merge_train_stack_collapse
  • uv run --extra dev ruff check control_plane/contracts/merge_train_stack_collapse.py tests/test_merge_train_stack_collapse.py
  • uv run --extra dev ruff format --check control_plane/contracts/merge_train_stack_collapse.py tests/test_merge_train_stack_collapse.py
  • uv run --extra dev mypy control_plane/contracts/merge_train_stack_collapse.py tests/test_merge_train_stack_collapse.py
  • uv run python -m unittest tests.test_service.LaunchplaneServiceTests tests.test_filesystem_store tests.test_postgres_store

@cbusillo cbusillo merged commit 30b0dcd into main May 14, 2026
12 checks passed
@cbusillo cbusillo deleted the fix/stack-collapse-record-compat branch May 14, 2026 23:44
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