Skip to content

Add ORM migration foundation#53

Merged
shiny-code-bot merged 4 commits into
mainfrom
code/2026-04-28-launchplane-orm-migrations
Apr 28, 2026
Merged

Add ORM migration foundation#53
shiny-code-bot merged 4 commits into
mainfrom
code/2026-04-28-launchplane-orm-migrations

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • add Alembic migration infrastructure and a baseline revision for the current Launchplane SQLAlchemy schema
  • document the ORM query boundary, field-promotion audit, JSONB evidence rule, and existing DB stamp posture
  • add lane and preview summary read models plus repository methods for GUI-facing storage reads

Verification

  • python3 -m py_compile control_plane/contracts/lane_summary.py control_plane/contracts/preview_summary.py control_plane/storage/postgres.py control_plane/storage/migrations/env.py control_plane/storage/migrations/versions/fe94a0486977_baseline_current_schema.py
  • uv run ruff check control_plane/contracts/lane_summary.py control_plane/contracts/preview_summary.py control_plane/storage/postgres.py tests/test_postgres_store.py
  • uv run ruff format --check control_plane/contracts/lane_summary.py control_plane/contracts/preview_summary.py control_plane/storage/postgres.py tests/test_postgres_store.py
  • uv run python -m unittest discover -s tests

Notes

  • Existing live databases created by the pre-Alembic create_all path should be table-shape checked and then stamped with alembic stamp head before future schema migrations.
  • Driver action availability is intentionally left for the provider-neutral driver descriptor/action contract slice.

@shiny-code-bot shiny-code-bot merged commit 94ec26f into main Apr 28, 2026
7 checks passed
@shiny-code-bot shiny-code-bot deleted the code/2026-04-28-launchplane-orm-migrations branch April 28, 2026 16:45
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.

2 participants