Deployment Status (Render)
Infrastructure
The backend is deployed as a Web Service on Render.
Configuration (render.yaml)
- Runtime: Python 3.9+
- Build Command:
pip install -r requirements.txt - Start Command:
uvicorn app.main:app --host 0.0.0.0 --port $PORT - Health Check:
/health
Known Pitfalls & Troubleshooting
- Streaming Timeouts: Render's load balancer may close SSE connections if no data is sent for 30-60 seconds. We use "Keep-alive" headers, but very slow reranking can still cause drops.
- Environment Variables: If you add a new var to
app/core/config.py, you MUST manually add it to the Render Dashboard (or viarender.yamlsync). python-multipart: This package is required for/upload-curriculum. If missing fromrequirements.txt, uploads will return400 Bad Requestor500.- Port Binding: Always bind to
0.0.0.0and use the$PORTenvironment variable provided by Render.