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

# Revisions and traffic

> Every release is an immutable revision of your whole application. Route traffic to the latest, pin an older one, or split it, and roll back in one change.

Every release creates a **revision**: an immutable, numbered snapshot of every service in the application, each pinned to its exact version and image. Traffic is routed to revisions, not to individual services, so the services in a revision always go live, and roll back, together.

## Traffic modes

| Mode | What happens on a new release |
| - | - |
| **Latest** (the default) | The new revision gets all traffic, but only once **every** service in it is healthy. If any service fails, traffic stays on the current revision and you're alerted. The revision that loses traffic is retired. |
| **Fixed** | All traffic stays on the revision you chose. New releases are built and stored as revisions, but get no traffic until you route to them. |
| **Split** | Traffic is divided between revisions by percentage. New releases get no traffic until you add them to the split. |

If Inframan can't apply new routes, it puts back the routes that were serving before, so a failed change never leaves you with no traffic at all.

## Change where traffic goes

1. Open the application and select **Revisions**.
2. Under **Traffic Routing**, choose:
   * **Send all traffic to the latest revision**,
   * **Send all traffic to a specific revision**, and pick it, or
   * **Split traffic across multiple revisions**, and give each a percentage. The total must equal 100%.
3. Click **Save & apply**.

## Roll back

To roll back, send all traffic to the last good revision. While traffic is fixed there, new pushes are built but don't go live.

Switching back to **Send all traffic to the latest revision** sends traffic to the newest revision straight away. Do it once a revision with the fix exists.

A revision's workloads are removed as soon as it has no traffic, so an idle old revision costs nothing. Its record is kept, though, and routing traffic back to it redeploys it from what was stored, with the same images, configuration and connections it shipped with.

## Canary releases

To try a release on a slice of traffic, switch to **Fixed** before you push, so the new revision is built without taking traffic. Then split, for example 90% to the current revision and 10% to the new one, and raise the new share as you gain confidence.

Traffic moves only when you change it. There's no automatic progressive rollout.

## Inside a revision

While traffic is split at the edge, calls between your services stay inside one revision. See [Connections](https://inframan.mintlify.site/deploy/connections.md#versions-stay-in-step).

## Restrictions while traffic is pinned

* **Reactivating** a deactivated application isn't possible in **Fixed** or **Split** mode. Switch back to latest first.
* **Restarting** an application in **Split** mode needs you to say which revision to restart.

## With an AI assistant

A connected assistant can list revisions and change the traffic mode, including rolling back and splitting.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.