security gate

An automated check in a pipeline that stops a change going further when it fails, usually by exiting with a non-zero code.

In more detail

Good gates block only new, high-confidence problems and tolerate known debt, otherwise developers learn to bypass them. Comparing findings with the main branch shows which ones a change introduced.

Example

Key findings by rule and file rather than line number, because line numbers move with every edit

Related terms

Taught in

References