Delivery
| Name | delivery |
| Enabled by default | No |
| Steps | 5 |
| Runs at once | up to 2 |
| Catalog | v0.51.0 |
What it does
What happens to merged code. Every push to a Product's default branch, a Change's merge included, joins a deployment, and merges close together ship as one. Delivery follows each deployment: it waits for the pre-release zone, the e2e-verifier tests it there end to end where it is switched on, and the deployment waits at the production gate for a person's approval (unless the Product's production gate is off) before it is promoted to production. A deployment a newer one takes the place of hands its work to that one's Delivery. When a release is cut, Delivery documents it: the version-manager moves the CHANGELOG's Unreleased lines under the version in a pull request a person merges, and the docs-writer publishes the release docs. Announcing it is the Announcement workflow's. The workflow ships disabled: deployments go through their zones and gates without it, and its agents spend model tokens.
When it runs
- On the event
deployment.started. Runs when a deployment of a Product starts. - On the event
release.cut. Runs when a release is cut for a Product.
Steps
Rounded steps are human gates, slanted steps are promotions, and double-edged steps run automatically.
| # | Step | Type | Runs | Required | On failure | Attempts |
|---|---|---|---|---|---|---|
| 1 | promote-pre-release | Promotion | Promote to zone pre-release | No | Dead-letter to a human | 1 |
| 2 | e2e-verify | AgentRole | End-to-end verifier | No | Continue | 1 |
| 3 | promote-release | Promotion | Promote to zone release | No | Dead-letter to a human | 1 |
| 4 | versioning | AgentRole | Version manager | Yes | Dead-letter to a human | 1 |
| 5 | release-docs | AgentRole | Docs writer | No | Dead-letter to a human | 1 |
1. promote-pre-release
Waits for the deployment to reach the Product's pre-release zone, Synced and Healthy. Skipped for a Product without a pre-release zone.
Runs only when trigger:deployment.started.
2. e2e-verify
Tests the deployment end to end in the pre-release zone, against the acceptance criteria of the Changes it carries, and reports each with its screenshot. A failed criterion (BLOCK) holds production until a person retries the step after a fix, or a newer deployment takes its place; a test that could not run (NOT TESTED) holds nothing and is shown to the person who approves production.
Runs only when promoted:pre-release. Times out after 60m. Skipped when its AgentRole is switched off.
3. promote-release
The production gate: the deployment waits for a person's approval, unless the Product's production gate is off, then is promoted to the release zone and waits for Synced and Healthy.
Runs only when trigger:deployment.started.
4. versioning
Confirms the semver bump, moves the CHANGELOG's Unreleased lines into a dated section for the tag's version, adds a linked line for every user-facing commit since the previous tag that had none, never edits a released section, leaves Unreleased empty, opens the CHANGELOG as a pull request, writes upgrade notes, and orders the releases of a Product's repos.
Runs only when trigger:release.cut. Skipped when its AgentRole is switched off.
5. release-docs
Publishes release notes and updates external product docs for the release.
Runs only when trigger:release.cut. Skipped when its AgentRole is switched off.
When it hands off to a human
Work an agent cannot finish is dead-lettered to @platform/release-managers. The AgentWorkflowRun shows the step as DeadLettered until a human picks it up.