What problem does it solve?
Prevents production outages and trader impact by enforcing a rigorous pre-deploy process that catches build, security, environment, and API-health issues before promotion to production.
Core Features & Use Cases
- Code quality & build validation: TypeScript type checks, lint gating, successful builds, and bundle size checks to avoid regressions.
- Security & environment checks: Detects accidental API keys, console logs, mock data, and verifies required environment variables are set in staging/production.
- API health & monitoring: Runs health endpoint and critical API checks against staging, reports degraded services, and enables watch loops for production health.
- Rollback & emergency procedures: Provides clear rollback commands for Vercel and Git, and guidance for emergency file-level reverts and promoting safe deployments.
- Use Case: Before a high-risk release, run the checklist to verify build integrity, confirm all env vars in staging, validate /api/health endpoints return OK, and have a rollback ready.
Quick Start
Run the Deployment Guardian checklist on the current branch: verify type-check, lint, build and bundle size, confirm staging environment variables, execute health endpoint tests, and perform a safe rollback if any check fails.