AI in pipelines
An assistant can sit inside the automatic checks that run on every change. Learn what it should do there, why it should advise and not decide, and who signs off a release.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a night-shift helper who may flag but not sign off. In a big shop, a night helper walks the aisles and leaves notes: this shelf is empty, that light is flickering. The manager reads the notes in the morning. The helper does not decide to open or close the shop.
Daily List is a to-do list app. Every time Leo changes the code, a pipeline runs. A pipeline is a chain of automatic steps that builds the app and runs the tests. Tom adds a new step at the end. An assistant reads the failures and writes a short note.
The note is useful. After a big change, a long list of red tests becomes a few lines about what failed and where to look. But the note does not stop anything. Mei, the test lead, reads it with the results and decides whether the change may go on.
That is the line to hold. The helper flags. A person signs off.
The picture has a limit. A night helper walks the real aisles and sees real shelves. The assistant sees only the text it is given, and that text may hide something.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named here are made up.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Using an assistant inside the automatic checks to read results and write a note, while ordinary steps gate and a named person signs off.
- Ordinary steps run
- Helper writes a note
- Person checks the evidence
- Person signs off
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The night helper | The artificial intelligence (AI) step |
| The notes left on the shelves | The failure summary |
| The shop manager | The person who signs off |
| The locked till and doors | The ordinary gating steps |
WHERE THIS PICTURE STOPS
- A night helper sees the real shop. The step sees only the text it is sent.
- A helper's notes are the same if you ask twice. A model's note can change.
- A helper cannot be tricked by writing on a shelf label. A model can be steered by text in a log.
HOOK
The helper flags, the person signs.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Can this step stop the release? The (AI) note cannot, but the ordinary gating steps can.
| In the trick | What it stands for |
|---|---|
| The note | The failure summary |
| The stoppers | The ordinary gating steps |
| The signer | The person who signs off |
TELL A FRIEND
A night helper walks the aisles and leaves notes, but the manager decides whether to open the shop.
OFTEN MIXED UP WITH Where tests run in a pipeline. The pipeline lesson explains where tests run in the chain. This lesson adds a helper step that reads results, and says why it should advise and not decide.
Sources & standards — 4 sources
- Market practice
Continuous Integration (Martin Fowler) ↗ — Martin Fowler · Continuous integration means team members merge work often and each merge is checked by an automated build and tests (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Understanding GitHub Actions (GitHub Docs) ↗ — GitHub · A workflow is an automated process of jobs and steps that runs when an event happens in a repository (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Flaky tests at Google and how we mitigate them (Google Testing Blog, 2016) ↗ — Google (Testing Blog) · Flaky tests pass and fail on the same code and cost teams time and trust (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Eradicating Non-Determinism in Tests (Martin Fowler) ↗ — Martin Fowler · Non-deterministic tests erode trust, so teams quarantine them and fix them (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
PRACTISE AND KEEP
Sources for this topic — 5 sources
- Market practice
Continuous Integration (Martin Fowler) ↗ — Martin Fowler · Continuous integration means team members merge work often and each merge is checked by an automated build and tests (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Understanding GitHub Actions (GitHub Docs) ↗ — GitHub · A workflow is an automated process of jobs and steps that runs when an event happens in a repository (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Flaky tests at Google and how we mitigate them (Google Testing Blog, 2016) ↗ — Google (Testing Blog) · Flaky tests pass and fail on the same code and cost teams time and trust (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Eradicating Non-Determinism in Tests (Martin Fowler) ↗ — Martin Fowler · Non-deterministic tests erode trust, so teams quarantine them and fix them (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Flaky Tests at Google and How We Mitigate Them ↗ — Google Testing Blog (John Micco) · search excerpt, page not opened: Micco, Google Testing Blog, May 2016; 1.5 percent of runs flaky; 'cost time and trust' was not found in the post text, so the wording was changed.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.