Repository navigation
feat(web): migrate to FastAPI and add interactive API docs - #589
Merged
Merged
Conversation
Replace Flask with FastAPI and Uvicorn while preserving browser routes, TLS settings, administrator sessions, CSRF protection, and audio streaming. Bundle authenticated Swagger UI with request bodies and session-bound tokens. Read PO catalogs directly, use the root source for English, and reload the interface after language changes. Exclude bundled assets from extraction. Refresh legacy deployment metadata and revalidate hourly GitHub requests. Update dependency locks, frozen-build imports, documentation, and regression coverage for the ASGI migration and follow-up fixes. Validation: 444 Python tests (89.43% coverage), 27 browser tests, flake8, Dockle checks/build, and live locale switching and Swagger GET/POST requests.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #589 +/- ##
==========================================
+ Coverage 86.06% 87.47% +1.41%
==========================================
Files 30 32 +2
Lines 3301 3562 +261
Branches 480 521 +41
==========================================
+ Hits 2841 3116 +275
+ Misses 309 298 -11
+ Partials 151 148 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
ReenigneArcher
force-pushed
the
migrate-from-flask
branch
from
October 3, 2026 20:55
45cf789 to
dd4e3a3
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Replace Flask with FastAPI and Uvicorn while preserving browser routes, TLS settings, administrator sessions, CSRF protection, and audio streaming. Bundle authenticated Swagger UI with request bodies and session-bound tokens.
Read PO catalogs directly, use the root source for English, and reload the interface after language changes. Exclude bundled assets from extraction. Refresh legacy deployment metadata and revalidate hourly GitHub requests.
Update dependency locks, frozen-build imports, documentation, and regression coverage for the ASGI migration and follow-up fixes.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.