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
| What | Where |
|---|---|
| A component | Workflows, ··· › Components, the component: Publish release…, then Impact of …. |
| A callable workflow | Its 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
| Column | What it shows |
|---|---|
| Used in | Each workflow that uses it, and each component that contains it (marked Component). |
| Pins | The release the workflow's draft (its newest saved version) pins. |
| Running | The release its deployed version runs (for a component that contains it, its released versions). |
| Status | Update available, Up to date, or, for a Call workflow step, Follows the newest release or Follows the deployed version. |
| Tests and update | The 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.
| Change | Breaking |
|---|---|
| A new required input | Yes |
| An input that becomes required | Yes |
| An input or output whose type changes | Yes |
| An output that is removed | Yes |
| An output that is no longer always returned | Yes |
| A new optional input, or a new output | No |
| An input that is no longer used | No |
| An input that becomes optional | No |
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:
- its current definition is kept as a version;
- the definition with its pins moved to the new release becomes its newest version, a draft;
- 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:
| Reason | Why |
|---|---|
| Its tests failed | A test case failed; the case and the fields that differ are named (never their values). |
| It would not validate | The definition with the new release doesn't pass validation. |
| A destination needs a profile | An active destination has no usable connection. |
| Major update not acknowledged | The release is major and nobody acknowledged it. |
| It was saved while updating | Someone saved it while the update ran: run it again. |
| The update failed | An 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
| Event | When |
|---|---|
component.update | Workflows were updated to a component's release, with those updated and held back (and why). |
workflow.call_update | The 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 path | What 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.