Skip to content
Reference

Release impact and updates

What publishing a release of a component or callable workflow touches, how a breaking change is found, and how Run tests and Update selected or Update all move the workflows that pin it.

On this page

A component or a callable workflow is used by other workflows through a pinned release, such as 1.0.0. Publishing a new release changes nothing for them. Its impact shows every workflow that uses it and the release each one pins. From there you run their test cases against the new release and update the ones that pass. Each update is a new draft that you deploy as usual, so nothing changes in production on its own.

Where to find it

WhatWhere
A componentWorkflows, ··· › Components, the component: Publish release…, then Impact of ….
A callable workflowIts Versions tab, Releases: Publish release, then Impact of ….

The impact is shown for the newest release. Publishing a release is the same as before: a component's tests run first, and a callable workflow's release labels its deployed version.

The impact

ColumnWhat it shows
Used inEach workflow that uses it, and each component that contains it (marked Component).
PinsThe release the workflow's draft (its newest saved version) pins.
RunningThe release its deployed version runs (for a component that contains it, its released versions).
StatusUpdate available, Up to date, or, for a Call workflow step, Follows the newest release or Follows the deployed version.
Tests and updateThe result of Run tests or of an update: passed and ready, updated to a new draft, or held back with the reason.

A Call workflow step that follows the newest release, or the deployed version, is listed but never updated: following was the author's choice. A Component step always pins a release.

The workflow's Component step also says Update available when a newer release exists, and the component's Used by marks each workflow whose draft is behind.

Breaking changes

The impact compares what the release needs and gives back with the release before it, field by field, from the point of view of the workflows that use it.

ChangeBreaking
A new required inputYes
An input that becomes requiredYes
An input or output whose type changesYes
An output that is removedYes
An output that is no longer always returnedYes
A new optional input, or a new outputNo
An input that is no longer usedNo
An input that becomes optionalNo

A breaking change, or a major label such as 2.0.0, marks the release Breaking · major. Updating to a major release needs an explicit acknowledgement (I understand … is a major release): without it, every workflow is held back with the reason major.

Major is decided for each workflow, from the oldest release it pins. A workflow several releases behind can cross a major even when the newest release is a minor: for example, it still pins 1.0.0, 1.2.0 removed an output and 1.3.0 only adds one. Its row then says Major from 1.0.0, and updating it needs the same acknowledgement (I understand moving the workflows marked Major to 1.3.0 …). Workflows that are not major update without it.

The release label is not refused: a breaking change under a minor label is still flagged major, and still needs the acknowledgement.

Run tests

Run tests (on the selected workflows, or all of them) runs each workflow's saved test cases, whole-workflow and step cases alike, against its definition with its pins moved to the new release. They are dry runs: nothing is sent and nothing is saved. A workflow with no test cases is ready once it validates. Run tests works on a major update too, before anyone acknowledges it, so you can read the results first; a ready workflow whose update is major says so.

Update selected and Update all

An update does the same checks as Run tests, then for each workflow that passes:

  1. its current definition is kept as a version;
  2. the definition with its pins moved to the new release becomes its newest version, a draft;
  3. nothing is deployed: a deployed workflow keeps running its deployed version until you deploy the draft through the usual checklist (approval, two-person rule, a fresh passing test).

A workflow is held back, unchanged, with the reason:

ReasonWhy
Its tests failedA test case failed; the case and the fields that differ are named (never their values).
It would not validateThe definition with the new release doesn't pass validation.
A destination needs a profileAn active destination has no usable connection.
Major update not acknowledgedThe release is major and nobody acknowledged it.
It was saved while updatingSomeone saved it while the update ran: run it again.
The update failedAn error; nothing about it changed.

This is the same update engine as a linked template's Update all: one set of checks, one way of writing drafts.

Audit

EventWhen
component.updateWorkflows were updated to a component's release, with those updated and held back (and why).
workflow.call_updateThe same, for a callable workflow's release.

Run tests writes nothing and is not audited. Deploying an updated draft is audited as any deploy.

API

Method and pathWhat it does
GET /api/workflows/release-updates?targetId=…&release=…: the release's impact (default the newest release) and canUpdate.
POST /api/workflows/release-updates{ "targetId", "release", "workflowIds"?, "acknowledgeMajor"?, "dryRun"? }: Run tests (dryRun) or update. Answers updated, ready, heldBack and upToDate.

Operators and admins can run tests and update (the page shows Run tests and Update to them); viewers can see the impact. See the API reference.