liveBook · Manning

Continuous integration

As explained in Vibe Engineering

Continuous integration is the practice of frequently merging changes into a shared codebase and automatically building and testing them.

Continuous integration (CI) frequently merges changes into a shared codebase and automatically builds and tests them. For teams using AI agents, a slow or unreliable pipeline can turn faster code generation into a longer feedback queue. Time the pipeline and investigate test verdicts that change on reruns before assuming the model is the bottleneck. section 10.8.4 section 10.0

A CI pipeline can also run automated code review, test generation, documentation, and security scanning on Git events. These model API calls need different cost and latency decisions from interactive IDE work: nobody may be waiting for an immediate response. section 9.5.5

Use the task’s risk and urgency to choose how much work to run:

  • Route every changed file through a cheaper first-pass review, then send flagged files and security-sensitive paths to a deeper review. section 9.5.5
  • Batch work that can arrive later, such as merge-triggered test generation. Schedule documentation regeneration and security scans according to when their results are needed. section 9.5.5
  • Cache repeated review instructions, conventions, and output specifications rather than paying full input costs on every request. section 9.5.5

Two-pass review

In one pipeline, a first pass reviewed about 45 changed files a day; a deeper model reviewed roughly 15 flagged or security-sensitive files. Reported monthly cost fell from $620 for a deep review of every file to $175, with the same issues caught in that example. The saving depends on routing the right files to the deeper pass. section 9.5.5

Automated checks are not the whole quality process. Sample merged AI-generated changes for issues such as unnecessary complexity, architectural fit, and missing test edge cases; track review outcomes over time to spot degradation that individual checks may miss. section 9.4.3

How Vibe Engineering covers it

How deep it goes
Details review routing, batching, caching, and pipeline timing, while leaving basic pipeline construction unspecified.
Examples
Compares a two-pass review pipeline with an all-deep-review baseline and reports daily file volumes and monthly costs.
What you can do after
Operate/configure a CI workflow by timing feedback and choosing review routing, batching, and caching for automated tasks.
How it connects
Connects CI with code review, test reliability, security scanning, and AI-assisted development.

Also explained in

Compare how 7 books explain continuous integration →

Related concepts

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