liveBook · Manning

Quality gate

As explained in Shipping Go: Develop, deliver, discuss, design, and go again

A quality gate is a checkpoint that evaluates a product or work output before it proceeds to a subsequent production or delivery stage.

A quality gate is a checkpoint that evaluates work before it advances to the next production or delivery stage. In software, automated tests can protect the pipeline from broken changes and reduce the QA team’s burden of rediscovering familiar bugs. section 3.0 section 3.6

Put testing before building

A practical pipeline runs tests before the build. If the tests fail, later work is stopped instead of wasting time building or shipping code that does not work as intended. A GitHub Actions workflow can make the build depend on the test job with `needs: test`, creating a clear first gate while leaving room for later guards, deployments, or parallel steps. section 3.6

The same idea appears outside software: checking ingredients before cooking prevents a spoiled main ingredient from wasting the rest of the preparation. Quality gates protect each subsequent stage from avoidable rework. section 3.6

How Shipping Go: Develop, deliver, discuss, design, and go again covers it

How deep it goes
Explains the staged rationale and demonstrates test-before-build configuration, while deferring additional guards, builds, and deployments.
Examples
Uses a QA conversation, a cooking analogy, and a GitHub Actions workflow running Go tests before the build.
What it assumes
Assumes software development and pipeline familiarity while introducing quality gates through testing and staged delivery.
What you can do after
Operate/configure a CI pipeline that tests changes before allowing dependent build work to run.
How it connects
Connects continuous testing with automated testing, build pipelines, deployment, and shared quality responsibility.

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 Shipping Go: Develop, deliver, discuss, design, and go again. The section links point to the parts of the book it draws on.