Skip to main content
The ladder · Lesson 17

17 Checks and Definition of Done

Software Factory Engineer

Software Factory Engineer · the factory of Academy CRMAcademy CRM Factory: the Definition of Done and the checks of a change.

I want to decide what a change must pass before it merges.

Checks and Definition of Done

Concepts​

Two kinds of checks guard the way to main, and the pull request settings decide how the work arrives there.

  • Definition of Done — the project's text of finished work and its checks. Every agent that writes code runs them before it opens a pull request.
  • Advisory — a check that reports and never holds the work. Blocking holds the work until it passes.
  • Verification set — a named list of checks an agent carries and runs on request: rubrics, module commands, scripts.
  • Merge policy — what must hold before Swifter offers Merge.

The checks on the way to main

Definition of Done
Verification set
Merge policy
the text and the checks every coding agent runs before a pull request
the checks one agent carries; web-change for General
what must hold before Merge is offered
  1. Definition of Done
    the text and the checks every coding agent runs before a pull request
  2. Verification set
    the checks one agent carries; web-change for General
  3. Merge policy
    what must hold before Merge is offered

Figure 17.1 · The checks on the way to main

Scenario​

You make two checks blocking, build the web-change set for General and set how pull requests open. Then a change that breaks a test shows the blocking check failing.

From settings to a failed check

Definition of Done
Verification set
Pull requests
Approve
Run a change
  1. Definition of Done
  2. Verification set
  3. Pull requests
  4. Approve
  5. Run a change

Figure 17.2 · From settings to a failed check

Interface​

The Verifications page: the Definition of Done on top, the project's own sets under it.

Walkthrough​

Scene 1 of 8 · Read the Definition of DoneWatched 0%

Scene 1 of 8 · 0:16

Read the Definition of Done

Where: Definition of Done page: ① Definition of Done · ② What done means · ③ Checks

The gear → Definition of Done. What done means is the text every agent reads. Under Checks, each row runs on the modules it names: Lint and Unit tests run on web, Type check finds no command. All are Advisory.

Terms​

  • Rubric — a sentence an agent judges as true or false on the change.
  • Script check — a JavaScript check over the changed files that returns pass or fail.
  • verify_me — the tool an agent calls to run the Definition of Done before a pull request.
  • Draft pull request — one that cannot be merged until someone marks it ready.