Skip to main content
DevOps

A slow pipeline is one engineers route around

When builds are slow, flaky or hard to read, engineers merge around them and the controls go with them. Run the pipeline as a production system: fast first, then correct, with failures anyone can read.

NinetyX DevSecOps Practice2 min read

The fastest way to lose the benefits of a delivery pipeline is to make it slow. When a build takes forty minutes and fails intermittently, engineers stop trusting it, start merging around it, and every gate you carefully built becomes optional. Pipeline reliability is not a nice-to-have; it is the thing that keeps the controls in the path.

Fast, then correct, then everything else

Order the stages so the cheapest, most likely-to-fail checks run first. A developer who has broken formatting should learn that in fifteen seconds, not after a ten-minute integration suite.

.github/workflows/ci.yml
jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with: { node-version: 22, cache: npm }
      - run: npm ci
      - run: npm run typecheck   # cheap, fails fast
      - run: npm run lint
      - run: npm test            # slower, runs only if the above pass
Tip:

Cache the expensive, deterministic steps

Dependency installs and build outputs are deterministic for a given lockfile. Cache them on the lockfile hash and a warm pipeline drops from minutes to seconds — which is what makes running it on every push tolerable.

Make failures legible

A red build that does not say why is worse than no build. Surface the failing step, the command, and the relevant log lines at the top of the output. The measure of a pipeline is not how often it is green — it is how quickly a red one tells you what to fix.

A gate teams trust is a gate teams keep. A gate they do not trust is a gate they remove.

Share

NinetyX DevSecOps Practice

DevSecOps & Delivery

Engineers who put security and quality checks inside the delivery pipeline as gates. They write about keeping releases fast while every control stays in the path.

Where to next

Put the security checks inside your pipeline

We set up CI/CD pipelines where scans, policy checks and release evidence run as gates on every change, defined in your repositories and owned by your team.

See the DevSecOps services