Spaces:
Running
Running
|
Download PRODUCTION_READINESS.md from Sdm0/opencodereview: direct link, hf CLI and curl.
- Browser
- Download file 2.26 kB
-
https://huggingface.co/spaces/Sdm0/opencodereview/resolve/main/PRODUCTION_READINESS.md
- Command line
-
hf download hf://spaces/Sdm0/opencodereview/PRODUCTION_READINESS.md
-
curl -L -o PRODUCTION_READINESS.md https://huggingface.co/spaces/Sdm0/opencodereview/resolve/main/PRODUCTION_READINESS.md
2.26 kB
Production readiness checklist
Verified
- Supabase Postgres stores review jobs and survives a Space restart.
- Review findings and verdicts are recoverable after restart.
- RAGAS inputs and terminal failures are persisted in job payloads.
- Groq provider routing avoids an exhausted Gemini quota when Groq is configured.
- RAGAS can produce real context precision, faithfulness, and MMR values.
- RAGAS provider calls have bounded retries and timeouts.
- GitHub posting receipts distinguish inline, fallback, finding, and verdict failures.
- React production build and Vercel deployment succeed.
- A reproducible diff-backed benchmark fixture exists for five public PRs.
- Live validation on
calcom/cal.com#8087detected all four unawaitedforEach(async ...)defects and returnedrequest_changeswith four high findings (score 2/10). - The approve path was exercised on that live job and persisted a truthful
post_failedreceipt: 0 inline comments, 0 fallback comments, 4 finding failures, and 1 verdict failure. - API rate limiting is enabled at 10 requests/minute and was verified live behind the Hugging Face proxy with a safe concurrent test producing HTTP 429.
- Review creation idempotency was verified live: repeated submissions with the
same
Idempotency-Keyreturned the same persisted job ID. - Deterministic correctness checks survive remote-provider failures, and model prompts now bound diff and changed-file context to free-provider limits.
Required before production release
- Generate predictions from the five diff-backed fixtures and record precision, recall, F1, severity, category, and false-positive results.
- Run an approve decision against a safe test PR and verify the GitHub posting receipt and resulting comments.
- Add per-user GitHub OAuth or GitHub App authentication and job ownership.
- Enable required API authentication and rate limits after OAuth is wired into the frontend.
- Add browser, API lifecycle, restart-recovery, and posting integration tests.
- Verify a second repository and PR independently of the project repository.
RAGAS scores must remain explicitly marked unavailable or failed when the provider cannot return. The system must never substitute invented metrics.