Skip to content

Migrate product environment reads to FastAPI#1390

Merged
cbusillo merged 1 commit into
mainfrom
v2-fastapi-product-environment-read
Jun 17, 2026
Merged

Migrate product environment reads to FastAPI#1390
cbusillo merged 1 commit into
mainfrom
v2-fastapi-product-environment-read

Conversation

@cbusillo

Copy link
Copy Markdown
Owner

Summary

  • migrate core /v1/products product/site read-model routes from legacy WSGI to native FastAPI
  • retire the direct WSGI product-environment read branches while keeping /v1/repo-product-mapping and /v1/agent/context on the retained fallback
  • add native FastAPI contract, authz, redaction, fallback-precedence, and retirement coverage
  • update service-boundary and compatibility-retirement docs

Local Validation

  • uv run python -m unittest (2681 tests)
  • uv run python -m unittest tests.test_http_app tests.test_service (706 tests)
  • uv run python -m unittest tests.test_http_app.FastApiProductEnvironmentReadTests
  • uv run --extra dev ruff check .
  • 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
  • git diff --check
  • JetBrains changed-files closeout: clean, 0 problems

Review

  • Scout/review agents green; final post-polish review found no blockers.

Note: whole-repo ruff format --check . still reports pre-existing unrelated formatting drift in 56 files; touched files are formatted.

@cbusillo cbusillo merged commit 37a16b5 into main Jun 17, 2026
12 checks passed
@cbusillo cbusillo deleted the v2-fastapi-product-environment-read branch June 17, 2026 20:54
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