Releases and approvals

Tracked promotions with approvals, waves checked against metrics, bypass requests and rollback.

A promotion is a deployment taking another deployment's snapshots. A release is that promotion tracked as one event with an owner, a conversation and an outcome: one snapshot moving through a pipeline or to chosen deployments, from the moment someone raises it until it lands or is rolled back. It has a number such as R-142, a route, a list of decisions and a status.

The word has two meanings in Wardn. To release a held snapshot is to approve it so it is applied (Held snapshots). A Release with a capital letter, on this page, is the tracked promotion.

The idea

 raised ──▶ approved ──▶ rolling out ──▶ landed
  by a        by the         in waves,        in every
  person      people the     each checked     chosen
              rules name     against metrics  deployment
                                 │
                       a failed check pauses it ──▶ rollback restores
                                                    the previous snapshot

Every decision on a release, by a person or by a rule, is stored with the versions of the rules and the facts it read, so the question "why did this go to production" has one answer. A release is a durable workflow: it carries on from the wave it was in after a restart, and nothing is applied twice.

What it adds

PartMeaning
RaiseSomeone promotes a snapshot to a stage's deployments. A pipeline release follows the route; an ad hoc release sends a snapshot somewhere the route does not, and a hotfix does not wait for the stages between. The last two need a reason. A partial release moves only some of the snapshot's apps.
ApprovalsThe rules for the stage and the guardrails name how many approvals are needed and from whom. The person who raised a release can never approve it. See Approvals.
WavesA stage can roll out in waves, for example by cluster label. A wave can wait for a metric check, or for a person, before the next starts. A person can pause, hold, resume, skip or cancel.
RollbackPuts back, as a new snapshot, what each deployment ran before. See Releases.
Bypass requestsWhen a rule holds a snapshot, someone can ask for a one-time bypass with a reason, and a person who holds the bypass duty grants or declines. See Bypass requests.
CalendarReleases and one-time freezes drawn together, with a subscription feed for a calendar app.

Who approves

Approving is a duty, not seniority. A team's leads and owners approve for the team's apps by default; an Owner, or someone granted a role that holds the duty on a pipeline, environment or app, can too, with an end date for cover. Nobody approves their own work, and an agent never approves. When the person who approves is away, they can delegate the duty for a period, and every approval then names both people. See the access model.

How a release meets the rules

At every step, the policy engine decides whether the snapshot may arrive at the deployment. A rule that holds it makes the release wait and ask again, and an approval request opens if the rule asks for approvals; the release never skips a rule. A bypass names the rules it skips, and a rule it does not name still holds.

What exists

  • Raising, steering, rolling back and restoring releases, with the Releases screens and the calendar: Releases.
  • Approval requests, the approvals inbox, decisions in the web app, the API and Slack: Approvals.
  • Bypass requests and direct bypass: Bypass requests.
  • Delegating approvals while away: Delegating approvals.
  • Wave checks that read Prometheus, and Restore and rollback with a preflight and approvals of its own.

What is not part of this yet: conditions an approver adds ("pause after the canary") are recorded but not enforced; approvals that live in an external change system are not synced into the inbox; recurring freezes are not drawn on the calendar; and a release has no draft state.

Next

On this page