Skip to content

Move ingress route audit reads to FastAPI#1398

Merged
cbusillo merged 1 commit into
mainfrom
v2-fastapi-ingress-audit-read
Jun 18, 2026
Merged

Move ingress route audit reads to FastAPI#1398
cbusillo merged 1 commit into
mainfrom
v2-fastapi-ingress-audit-read

Conversation

@cbusillo

Copy link
Copy Markdown
Owner

Summary

  • move ingress route audit record list/read endpoints to native FastAPI
  • delete the legacy WSGI read matcher/branch and keep direct fallback reads fail-closed
  • add FastAPI behavior/OpenAPI/fallback-order coverage and update service boundary docs

Validation

  • uv run python -m unittest tests.test_http_app.FastApiIngressRouteAuditReadTests tests.test_service.LaunchplaneServiceTests.test_ingress_route_audit_record_reads_are_retired_from_legacy_wsgi_app tests.test_service.LaunchplaneServiceTests.test_npmplus_ingress_route_apply_dry_run_returns_plan_without_mutation tests.test_service.LaunchplaneServiceTests.test_npmplus_ingress_route_apply_fails_before_mutation_when_audit_unavailable
  • 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
  • git diff --check
  • uv run --extra dev ruff check .
  • uv run --extra dev mypy control_plane tests
  • uv run python -m unittest
  • uv run /Users/cbusillo/Developer/codex-skills/jetbrains-inspection/scripts/jb-inspect.py closeout --repo /Users/cbusillo/Developer/launchplane --scope changed_files

Note: repo-wide Would reformat: control_plane/agent_context_service.py
Would reformat: control_plane/authz_grant_service.py
Would reformat: control_plane/cli_dokploy_targets.py
Would reformat: control_plane/cli_preview_workflow.py
Would reformat: control_plane/contracts/agent_write_intent.py
Would reformat: control_plane/contracts/every_code_preview_gate_record.py
Would reformat: control_plane/contracts/merge_train_admission.py
Would reformat: control_plane/contracts/merge_train_batch.py
Would reformat: control_plane/contracts/merge_train_run_record.py
Would reformat: control_plane/contracts/odoo_instance_override_record.py
Would reformat: control_plane/contracts/runner_lane_inventory.py
Would reformat: control_plane/contracts/runtime_key_safety_policy.py
Would reformat: control_plane/contracts/verireel_prod_backup_gate.py
Would reformat: control_plane/contracts/verireel_prod_backup_gate_operation.py
Would reformat: control_plane/contracts/work_graph_read_model.py
Would reformat: control_plane/every_code_worker.py
Would reformat: control_plane/merge_train.py
Would reformat: control_plane/merge_train_admission.py
Would reformat: control_plane/provider_target_operations_http.py
Would reformat: control_plane/runtime_key_safety.py
Would reformat: control_plane/runtime_key_safety_service.py
Would reformat: control_plane/service_human_auth.py
Would reformat: control_plane/storage/migrations/versions/b7d9f1a3c5e7_add_odoo_worker_leases.py
Would reformat: control_plane/storage/migrations/versions/c9d1e3f5a7b9_add_verireel_backup_gate_operations.py
Would reformat: control_plane/storage/schema_adoption.py
Would reformat: control_plane/work_graph_issue_inbox.py
Would reformat: control_plane/workflows/odoo_preview_runtime.py
Would reformat: control_plane/workflows/odoo_stable_bootstrap.py
Would reformat: control_plane/workflows/odoo_verification.py
Would reformat: control_plane/workflows/preview_pr_feedback.py
Would reformat: control_plane/workflows/provider_target_audit.py
Would reformat: control_plane/workflows/provider_target_backfill.py
Would reformat: control_plane/workflows/verireel_prod_backup_gate.py
Would reformat: control_plane/workflows/verireel_prod_backup_gate_operation_worker.py
Would reformat: scripts/deploy/capture-launchplane-deploy-diagnostics.py
Would reformat: scripts/merge_train_controller_feedback.py
Would reformat: tests/test_authz_grant_service.py
Would reformat: tests/test_config_authority_audit.py
Would reformat: tests/test_deploy_diagnostics.py
Would reformat: tests/test_emergency_dokploy_rollback.py
Would reformat: tests/test_every_code_reconciliation.py
Would reformat: tests/test_every_code_summary_read_model.py
Would reformat: tests/test_every_code_worker.py
Would reformat: tests/test_generic_web_preview.py
Would reformat: tests/test_launchplane_request_action.py
Would reformat: tests/test_merge_train_admission.py
Would reformat: tests/test_odoo_preview_runtime.py
Would reformat: tests/test_odoo_prod_rollback.py
Would reformat: tests/test_odoo_stable_authority.py
Would reformat: tests/test_odoo_stable_bootstrap.py
Would reformat: tests/test_odoo_verification.py
Would reformat: tests/test_preview_pr_feedback.py
Would reformat: tests/test_public_ingress_monitor.py
Would reformat: tests/test_runtime_identity_health.py
Would reformat: tests/test_runtime_key_safety_service.py
Would reformat: tests/test_verireel_prod_backup_gate.py
56 files would be reformatted, 328 files already formatted still reports pre-existing formatting drift in unrelated files; the changed Python files are formatted.

@cbusillo cbusillo merged commit e3f826c into main Jun 18, 2026
12 checks passed
@cbusillo cbusillo deleted the v2-fastapi-ingress-audit-read branch June 18, 2026 06:19
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