liveBook · Manning

Quality gate

As explained in "Looks Good to Me"

A required validation or authorization that must be completed before a software change can advance in a delivery process.

A quality gate is a required validation that blocks a change from advancing until it meets defined criteria. In code review, it removes routine noise so reviewers can focus on critical issues that require human judgment. section 5.4.4

Apply gates at several points in the delivery workflow:

  • Place checks before, during, or after a pull request is opened or submitted. section 5.4.4
  • Block merging when proposed changes fail specified quality criteria. section 5.4.4
  • Automate linting, formatting, sensitive-information detection, security checks, testing, and analysis where practical. section 5.4.4

A quieter pull-request review

A pull request first passes automated checks for formatting, linting, sensitive information, and security concerns. If any check fails, merging is prevented; if they pass, the reviewer can spend more attention on high-stakes problems. section 5.4.4

Figure 5.5 Built-in GitHub precheck validates that proposed changes do not result in a conflict with the base branch and are safe to merge.
figure

Use the GitHub precheck as a concrete example of a built-in gate that validates merge safety and detects conflicts with the base branch. section 5.4.4

How "Looks Good to Me" covers it

How deep it goes
Defines PR gates, workflow placement, and machine-inspected criteria, but does not detail individual tool implementations.
Examples
Uses linting, formatting, sensitive-information checks, security checks, and GitHub’s prebuild merge check.
What you can do after
Apply it via pull-request checks and CI/CD gates to reserve human review for high-stakes issues.
How it connects
Connects pull requests, code review, automation, bots, and CI/CD pipelines.

Also explained in

Compare how 5 books explain quality gate →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of "Looks Good to Me". The section links point to the parts of the book it draws on.