Qualification and sign-off
How a snapshot earns the right to move to the next stage, through soak time, tests and a person's sign-off.
Moving a snapshot into production because it was pushed is not the same as moving it because it is ready. Qualification is Wardn's answer to "is this snapshot good enough to leave this stage": a verdict recorded for each snapshot at each stage of a pipeline.
The idea
A stage can list what a snapshot must show before it moves on. As the evidence arrives, the snapshot's verdict in that stage changes.
snapshot 3f9a2c1 in the QA stage
soak 4h ✓ done
tests ✓ 412 of 412 passed
no incident ✓ none open
QA sign-off … waiting for a designated person
──▶ verdict: qualifying| Verdict | Meaning |
|---|---|
| Qualifying | Checks are still running or a person has not signed off. |
| Qualified | Every check holds. The snapshot may move to the next stage, and the next stage can require it. |
| Rejected | A check failed or a person rejected it, with a reason. |
A verdict is worked out again whenever it is read, after every sign-off or rejection, and every 30 seconds in the background, so it follows the facts: when the soak ends or a person rejects, the verdict moves. Only the snapshot a deployment runs now is judged afresh. One it has moved on from keeps the checks it last had, and shows Superseded if it was still qualifying. A fact Wardn cannot read leaves its check waiting, never passed.
The checks
| Check | Evidence |
|---|---|
| Soak | The snapshot has run in the stage for a set time. |
| Tests | Test runs made against the snapshot passed and none failed (Tests). A run counts only when it names the snapshot (snapshotId when you start it). With no run against the snapshot the check reads No test results yet and waits, which holds the verdict at qualifying. |
| No incident | No open incident covers the deployment. See Incidents. A source that cannot be read leaves the check waiting. |
| Sign-off | A designated person says the snapshot is good, or rejects it with a reason. |
You see the verdict and every check on the deployment's Snapshots tab and on a snapshot's page, and what waits for sign-off in Approvals › Sign-offs (the filters are Needs you, Checks running, Agent recommends and Decided this week). The API has the same: GET /signoffs is the queue, GET /deployments/{deploymentId}/snapshots/{snapshotId}/qualification reads one snapshot's checks, and POST .../signoffs decides.
A stage with no qualification rules qualifies a snapshot once it has run healthy for 10 minutes: built-in health plus a short soak. The stage's own soak setting replaces the 10 minutes, and 0 means no soak. A snapshot that is promoted keeps the verdicts it earned upstream, because verdicts and soak follow the snapshot's content, not the deployment it was copied to.
Sign-off is a duty
Sign-off belongs to the people designated for it, such as a QA group, and not to seniority. An Admin who is not designated cannot sign off, and the organization Owner can. Where a stage says so, the person who authored a snapshot cannot sign it. When someone cannot sign, the screen says why rather than hiding the button. A person decides once. They sign off, sign off noting known issues where the stage accepts them, or reject with a reason, and a rejection is final for that snapshot in that stage. Each decision is written to the audit trail. See the access model.
A stage can name an agent to read each snapshot for the approver. The read shows on the sign-off page as advice, with its reasons and evidence, and the Agent recommends filter of the sign-off list counts the snapshots whose read recommends signing. It is only an extra input for the person who decides: it never counts as a sign-off and no agent can hold the sign-off duty. A read is made when a snapshot gets a verdict in the stage or a check changes, and a read made before the checks moved is stale and does not count. See Agents and Stage rules.
Decide in the web app from Approvals › Sign-offs, then Review: the page shows what changed, each check, and Your decision with three choices, Sign off, Sign off with known issues (only where the stage accepts them, with a note) and Reject (you are asked why). Or decide with the API:
api -X POST "$WARDN_API_URL/api/v1/deployments/$DEPLOYMENT_ID/snapshots/$SNAPSHOT_ID/signoffs" \
-d '{"decision": "signoff", "note": "Checked the checkout flow on QA"}'
# or {"decision": "reject", "reason": "Totals wrong with a discount code"}A decision needs snapshot:signoff on the deployment. The answer is the qualification as it stands after. A snapshot the deployment no longer runs, one that already qualified or was rejected, a person who already decided, and a stage with no sign-off rule answer 409 signoff.refused (or signoff.no_stage) with the reason; 400 signoff.reason is a rejection without a reason and 400 signoff.issues a known-issues sign-off the stage does not accept.
How it fits with the rest
- A route between stages can require that the snapshot was qualified in the stage before.
- Guardrails are separate: they say where a snapshot may go, and qualification says whether it has earned the move. Both are checked on a promotion.
- A requirement that needs a verdict, soak time or test result waits rather than passes when Wardn cannot read it. A snapshot with no verdict is not a qualified one.
- Qualification is what drives auto-promotion: when a snapshot qualifies, a next stage that arrives by auto-promotion takes it with no one acting.
- Qualification is separate from approvals. A sign-off says a snapshot is good enough to leave a stage, and holds the
snapshot:signoffduty. An approval says a person agrees a held snapshot may arrive at a deployment, and holdsrelease:approve.
You can also hold a snapshot for a person with the render guard, described in Sync and arrival, and release it with the same snapshot:signoff duty.