কোয়ালিটি গেট হল পাইপলাইনে অটোমেটেড চেক যা কোড এগিয়ে যাওয়ার আগে অবশ্যই পাস করতে হবে — যার মধ্যে রয়েছে টেস্ট, লিন্টিং, স্ট্যাটিক অ্যানালাইসিস, কভারেজ থ্রেশহোল্ড এবং সিকিউরিটি স্ক্যান। এগুলি অটোমেটিক্যালি কোয়ালিটি স্ট্যান্ডার্ড প্রয়োগ করে, সাবস্ট্যান্ডার্ড কোড প্রোডাকশনের দিকে এগিয়ে যাওয়া প্রতিরোধ করে।
কোয়ালিটি গেট কী
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
