Repository navigation
Prepare authenticated FastAPI operator deployment - #8
Merged
Merged
Conversation
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.
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 (
/ready200,/v1/me401 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.