Screens (56)
Agent Releases
Agent / Releases — a new version of an agent going live step by step, in a single file.
Loading Agent Releases…
Usage
import { AgentReleasesScreen } from "ui-kit/screens/agent-releases";Props
| Prop | Type | Default | Description |
|---|---|---|---|
workspace | string | "Northwind" | — |
title | string | "Releases" | The page's title in the bar |
agent | ArlAgent | AGENT | — |
releases | ArlRelease[] | — | Every release of the agent, newest first – the one rolling out has status canary or paused and its share |
metrics | ArlMetric[] | — | The live version and the new one side by side |
runs | { stable: number; canary: number } | — | Runs on each version since the rollout started |
stages | number[] | STAGES | The steps of a rollout, as shares – defaults to 5, 25, 50 and 100 % |
nextStepAt | number | — | When the next step comes, epoch ms |
now | number | — | Where now stands, epoch ms – defaults to the clock |
defaultOpen | string | null | "r15" | The release open on the right when the screen starts |
onPromote | (release: ArlRelease, share: number) => void | — | — |
onPause | (release: ArlRelease, paused: boolean) => void | — | — |
onRollback | (release: ArlRelease) => void | — | — |
onNewRelease | () => void | — | — |
loading | boolean | false | — |
empty | boolean | false | No releases yet |