Quality gates என்பது pipeline இல் உள்ள தானியங்கி சோதனைகள் ஆகும், இவை குறியீடு நகர்வதற்கு முன் கடக்க வேண்டும் — tests, linting, static analysis, coverage thresholds, மற்றும் security scans உட்பட. இவை தரமான தரநிலைகளை தானியங்கியாக செயல்படுத்துகின்றன, மொத்த குறியீட்டை உৎपादனத்தை நோக்கி முன்னேற விடாது.
Quality gates என்பது என்ன
A QUALITY GATE is an automated CHECK that code must PASS to advance in the pipeline:
→ if the check fails, the pipeline STOPS (code doesn't merge/deploy)
→ enforces standards AUTOMATICALLY and consistently (not relying on humans to remember)
→ "Code must meet these standards to proceed" — automated, objective gates.
பொதுவான quality checks
✓ TESTS — automated tests must pass (the primary gate)
✓ LINTING — code style/format consistency (ESLint, Prettier, etc.)
✓ STATIC ANALYSIS — detect bugs, code smells, complexity (SonarQube, etc.)
✓ CODE COVERAGE — require a minimum test coverage threshold (e.g. ≥80%)
✓ SECURITY SCANS — dependency vulnerabilities (SCA), code (SAST), secrets detection
✓ BUILD must succeed; type checking (TypeScript, etc.)
✓ Sometimes: performance budgets, bundle size limits, accessibility checks
