Start the FastAPI runtime with owned database resources #6
Labels
No labels
area/backend
area/frontend
area/tooling
kind
build
kind
chore
kind
ci
kind
docs
kind
feat
kind
perf
kind
test
size
l
size
m
size
s
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#8 Apply PostgreSQL migrations with release compatibility checks
viacheslavshuka/quorum
#10 Generate and verify OpenAPI and the TypeScript client
viacheslavshuka/quorum
#11 Instrument backend requests with private optional telemetry
viacheslavshuka/quorum
#14 Authenticate Telegram users through protected Quorum sessions
viacheslavshuka/quorum
#15 Enforce Python behavior coverage and mutation checks
viacheslavshuka/quorum
#26 Package and serve the website and API from one image
viacheslavshuka/quorum
#45 Browse tests and open website forms through the Telegram bot
viacheslavshuka/quorum
Reference
viacheslavshuka/quorum#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Quorum needs an executable API before product workflows can connect their adapters. Establish startup, configuration, and resource ownership without inventing business capabilities.
Scope
Create the Python application package and FastAPI composition entrypoint. Run production HTTP serving through Granian with
--loop uvloop. Use a pooled asyncpg connection lifecycle and standard UUID objects fromuuid_utils.compat.Keep framework and database imports outside the application core. Define concrete ports with their first required interaction. Do not add an empty repository hierarchy or generic service layers.
Acceptance criteria
Anyto bypass them.Validation
Exercise startup, readiness, database failure, partial-startup cleanup, and shutdown against disposable PostgreSQL. Check actual response bodies and resource cleanup. Confirm isolated application construction does not perform network work during import.
Related work