Skip to content

Type product context cutover store boundary#179

Merged
cbusillo merged 2 commits into
mainfrom
feature/context-cutover-store-protocol
May 3, 2026
Merged

Type product context cutover store boundary#179
cbusillo merged 2 commits into
mainfrom
feature/context-cutover-store-protocol

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented May 3, 2026

Summary

  • add structural read/apply store protocols for product context cutover and legacy cleanup
  • remove the concrete Postgres store dependency from cutover planning/apply helpers
  • make cutover apply and cleanup loops use record-specific variable names so mypy can verify each record shape
  • add a fake-store dry-run planning test proving the read-only cutover boundary without a database

Refs #161

Validation

  • uv run python -m unittest tests.test_product_context_cutover
  • uv run --extra dev mypy control_plane/product_context_cutover.py tests/test_product_context_cutover.py
  • uv run --extra dev ruff check --diff control_plane/product_context_cutover.py tests/test_product_context_cutover.py
  • uv run --extra dev ruff format --check --diff control_plane/product_context_cutover.py tests/test_product_context_cutover.py
  • git diff --check
  • uv run python -m unittest

@cbusillo cbusillo merged commit e2e5056 into main May 3, 2026
12 checks passed
@cbusillo cbusillo deleted the feature/context-cutover-store-protocol branch May 3, 2026 12:20
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