Skip to content

Retire WSGI health fallback#1382

Merged
cbusillo merged 1 commit into
mainfrom
v2-next-wsgi-cleanup
Jun 17, 2026
Merged

Retire WSGI health fallback#1382
cbusillo merged 1 commit into
mainfrom
v2-next-wsgi-cleanup

Conversation

@cbusillo

Copy link
Copy Markdown
Owner

Summary

  • retire the direct legacy WSGI /v1/health branch so fallback calls fail closed
  • keep the native FastAPI health route as the service-owned v2 health contract
  • update WSGI retirement coverage and docs for the health route boundary

Refs #1322

Validation

  • uv run python -m unittest tests.test_http_app.FastApiHealthContractTests tests.test_service.LaunchplaneServiceTests.test_health_route_is_retired_from_legacy_wsgi_app tests.test_service.LaunchplaneServiceTests.test_service_serve_runs_fastapi_app_with_legacy_wsgi_fallback
  • uv run python -m unittest tests.test_http_app tests.test_service
  • uv run python -m unittest
  • uv run --extra dev ruff check control_plane/service.py tests/test_service.py
  • uv run --extra dev ruff check .
  • uv run --extra dev ruff format --check control_plane/service.py tests/test_service.py
  • uv run --extra dev mypy control_plane tests
  • JetBrains changed-files inspection: clean

Note: uv run --extra dev ruff format --check . still reports unrelated pre-existing repo-wide format drift outside this PR's changed files; changed Python files are formatted.

Review

  • scout agents agreed GET /v1/health is the smallest safe next WSGI cleanup slice
  • review agents: green/no blocking findings

@cbusillo cbusillo merged commit 53e434f into main Jun 17, 2026
12 checks passed
@cbusillo cbusillo deleted the v2-next-wsgi-cleanup branch June 17, 2026 14:58
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