> ## Documentation Index
> Fetch the complete documentation index at: https://ryvn.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Recalls

> Stop a bad release, or a range of versions, from rolling out

A recall marks a range of a [service](https://ryvn.ai/docs/guides/services.md)'s release versions as bad. Ryvn skips recalled releases whenever it picks a release to deploy, so a bad version stops spreading while you ship the fix:

* Auto-upgrades on [release channels](https://ryvn.ai/docs/configure/release-channels.md) skip recalled versions.
* [Promotion pipelines](https://ryvn.ai/docs/iac/promotion-pipeline.md) don't advance recalled versions.
* Queued upgrades and promotions to a recalled version are canceled.
* New installations don't get a recalled version.

Installations already running a recalled version stay where they are. Ship a fixed release and let it roll out, or move an installation back yourself with a [rollback](https://ryvn.ai/docs/configure/rollbacks.md).

[Force deploy](https://ryvn.ai/docs/configure/rollbacks.md#force-deploy) bypasses recalls. It can deploy a recalled version, and a queued force deploy isn't canceled when you create a recall.

## Create a recall

Open the service and go to **Recalls**, then select **New recall**. You can also choose **Recall release** from a release's actions on the **Releases** tab.

| Field | Description |
| - | - |
| Name | Identifies the recall. Lowercase letters, digits and single hyphens, up to 63 characters, starting and ending with a letter or digit. It must be unused by the service's active recalls. |
| Display name | Optional human-readable name, up to 100 characters. The recalls list shows it above the name. |
| Version range | A single version, a range picked from the service's releases, or a range typed by hand. The dialog shows which releases it matches. |
| Reason | Why the versions are recalled. |

## Version ranges

A recall covers one semver range:

| Range | Recalls |
| - | - |
| `1.4.2` | Exactly that version |
| `1.4` | The whole 1.4 line |
| `>=1.4.0` | That version and every later one, including releases that don't exist yet |
| `>=1.4.0 <1.5.0` | From the first bad version up to the fix, which isn't recalled |

`>`, `<=`, `~1.4.0`, `^1.4.0`, `1.4.x` and `1.4.0 - 1.4.3` also work and are stored as the equivalent range. Prereleases inside the range are recalled with it. `||` and `!=` aren't supported: create one recall per range instead.

## Manage recalls as code

Recalls are a resource kind, so you can keep them in Git with [Git Sync](https://ryvn.ai/docs/configure/infrastructure-as-code.md#setting-up-git-sync) alongside your services and installations. See the [Recall YAML reference](https://ryvn.ai/docs/iac/recall.md).

To change a recall's range, display name or reason without Git, use the [CLI](https://ryvn.ai/docs/cli/updating-resources.md#which-kinds-update-accepts):

```bash theme={null}
ryvn update recall bad-builds -s api -p '{"spec": {"range": ">=2.0.0 <2.1.0"}}'
```

A recall's name is unique only within its service, so pass the service with `-s`. For a Git-managed recall, the next sync reapplies the range and display name from Git, and the reason when the document sets one, so update the Git document to keep the change. Recalls created by release retention can't be updated.

## Delete a recall

On **Recalls**, open the recall's menu and select **Delete recall**. The recall stops applying, and its versions can be selected for deployment again.

> [!WARNING]
>
> Release retention recalls a release when it deletes its images. Deleting such a recall makes the release selectable again, but its images stay deleted, so deploying it can fail.

For a Git-managed recall, delete it and remove its YAML document from Git. Removing the document alone leaves the recall in place, and deleting the recall alone lets the next sync recreate it.
