गुणस्तर गेट पाइपलाइनमा स्वचालित जाँचहरू हुन् जुन कोडले अगाडि बढ्नको लागि पास गरनुपर्छ — परीक्षणहरू, linting, static analysis, coverage थ्रेसहोल्ड, र सुरक्षा स्क्यानहरू सहित। तिनीहरू गुणस्तर मानकहरू स्वचालित रूपमा लागू गर्छन्, तुच्छ कोडलाई उत्पादनतर्फ अगाडि बढ्नबाट रोकेर।
गुणस्तर गेट के हुन्
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.
सामान्य गुणस्तर जाँचहरू
✓ 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
