FastAPI Migration
Goal: Migrate to FastAPI for better performance, strong typing, data validation, and improved developer ergonomics. We prioritized high-traffic endpoints first and are now migrating the remainder (as of Feb 2026). Later we will migrate html pages.
Workflow
- Create: Build the new FastAPI endpoint, ensuring it matches existing functionality.
- Stage: Deploy to the testing environment (available at
_fast/<endpoint>). - Route (Testing): Update testing NGINX config to point to the new endpoint.
- Verify: Test edge cases, comparing testing traffic to production.
- Deploy: Merge to
master, updateolsystemrouting, and wait for deployment. - Cleanup: Remove old endpoints, add local redirects (
deprecated_urls), and merge.