Skip to content

Prepare authenticated FastAPI operator deployment - #8

Merged
cr-shah merged 1 commit into
mainfrom
feat/operator-deployment
Oct 6, 2026
Merged

cr-shah merged 1 commit into
mainfrom
feat/operator-deployment

Conversation

@cr-shah

@cr-shah cr-shah commented Oct 6, 2026

Copy link
Copy Markdown
Owner

The analyst workflow was implemented but had no repeatable hosted deployment path. This adds a Render Blueprint for the existing FastAPI container and PostgreSQL, runs Alembic before releases, and gates traffic on scorer, analyst-token, and database readiness. Render's PostgreSQL URL is normalized for the project's psycopg v3 driver; hosted preview endpoints require a bearer token.

The Blueprint deliberately starts with the labeled demo scorer and an empty database. It does not provision the SQS worker or a trained artifact, and it does not create paid Render resources until a workspace owner applies it. The rollout guide covers secrets, verification, and these boundaries.

Validation: full Python suite; Ruff check and format; frontend format, lint, typecheck, tests, and build; official Render Blueprint JSON Schema; local migration and live Uvicorn smoke test (/ready 200, /v1/me 401 without a token and 200 with a token). Docker image build and public Render deployment remain unverified because Docker and Render credentials are unavailable on this host.

@cr-shah
cr-shah merged commit 7678fc6 into main Oct 6, 2026
6 checks passed
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