opencodereview / docs /operations /PRODUCTION_READINESS.md
Sdm0's picture
Deploy 2cced123
5246c92 verified
|
Raw History Blame Contribute Delete
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#8087 detected all four unawaited forEach(async ...) defects and returned request_changes with four high findings (score 2/10).
  • The approve path was exercised on that live job and persisted a truthful post_failed receipt: 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-Key returned 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.