Skip to content

feat(api): add settings and first-run bootstrap - #16

Merged
prateekchaplot merged 2 commits into
mainfrom
arch/tts/t2.3
Nov 20, 2026
Merged

prateekchaplot merged 2 commits into
mainfrom
arch/tts/t2.3

Conversation

@prateekchaplot

@prateekchaplot prateekchaplot commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Task T2.3 from docs/ARCHITECTURE.md §14.

Verification: Python 3.12; pytest tests/unit (196 passed); pytest tests/integration (16 passed); Ruff check and format; strict mypy; frontend ESLint; TypeScript; Prettier with --end-of-line crlf; Vitest (34 passed); Vite production build; git diff --check.

Decisions: T2.3 reuses jobs.manager.bootstrap, initializes and closes app-scoped services in FastAPI lifespan, and makes persisted defaultVoiceId authoritative in settings, health, and voice-list responses. TTS_DEFAULT_VOICE seeds initial settings. The browser opens after Uvicorn starts serving. Offline bootstrap failure leaves the app available.

Shared-file follow-up: T2.2 generation routes now use shared app service access; T3.1 and T4.1 consume persisted default settings.

@prateekchaplot
prateekchaplot merged commit 4902f8c into main Nov 20, 2026
5 checks passed
@prateekchaplot
prateekchaplot deleted the arch/tts/t2.3 branch November 20, 2026 19:40
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