Skip to content

Migrate preview reads to FastAPI#1385

Merged
cbusillo merged 1 commit into
mainfrom
v2-fastapi-preview-reads
Jun 17, 2026
Merged

Migrate preview reads to FastAPI#1385
cbusillo merged 1 commit into
mainfrom
v2-fastapi-preview-reads

Conversation

@cbusillo

Copy link
Copy Markdown
Owner

Summary

  • migrate preview record and preview history reads to native FastAPI routes
  • delete the legacy WSGI preview.read route matching/handler branch
  • document preview read retirement and add regression coverage for stored-context auth before history listing

Validation

  • uv run python -m unittest (2648 tests)
  • uv run --extra dev ruff check --diff .
  • uv run --extra dev ruff check .
  • uv run --extra dev ruff check control_plane/http_app.py control_plane/service.py tests/test_http_app.py tests/test_service.py
  • uv run --extra dev ruff format --check control_plane/http_app.py control_plane/service.py tests/test_http_app.py tests/test_service.py
  • uv run --extra dev mypy control_plane tests
  • uv run /Users/cbusillo/Developer/codex-skills/jetbrains-inspection/scripts/jb-inspect.py closeout --repo "$PWD" --scope changed_files

Review

  • Scout agents confirmed preview record/history are a safe single v2 slice.
  • First review pass found history generation listing before authz; fixed before commit.
  • Second review pass: 2/2 agents reported no blocking findings and merge-ready.

Notes

  • Full ruff format --check . still reports existing repo-wide formatting drift outside touched files; touched files are formatted.

Refs #1322

@cbusillo cbusillo merged commit e9bd0b1 into main Jun 17, 2026
12 checks passed
@cbusillo cbusillo deleted the v2-fastapi-preview-reads branch June 17, 2026 17:16
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