Split deploy and task runner abstraction
commit2026-01-02 · stayairworthy
Split the deploy into Render for the API and Vercel for the frontend, which meant a long afternoon of CORS, cross-origin cookies (samesite=none, secure=true), and pydantic-settings refusing to parse CORS_ORIGINS the way it used to. Pulled Celery behind a task_runner abstraction so the app can run on FastAPI BackgroundTasks by default and only reach for Redis and workers when USE_CELERY is set, which fixed a pile of import-time errors during Railway and Render builds. Also added admin endpoints to trigger AD and SB syncs by hand, a make_superuser script, lazy database init, and a Dockerfile. Eighteen commits, most of them the kind where you watch a deploy log and change one line.
18 commits across 1 repo (savvyai: 18). 27 files changed; 1 skipped. Diff was truncated for summarization.
Related
- ProjectAirworthy(stayairworthy.com)