Skip to Content
UI Kit
Screens (56)

Agent Releases

Agent / Releases — a new version of an agent going live step by step, in a single file.

Open preview
Loading Agent Releases…

Usage

import { AgentReleasesScreen } from "ui-kit/screens/agent-releases";

Props

PropTypeDefaultDescription
workspacestring"Northwind"—
titlestring"Releases"The page's title in the bar
agentArlAgentAGENT—
releasesArlRelease[]—Every release of the agent, newest first – the one rolling out has status canary or paused and its share
metricsArlMetric[]—The live version and the new one side by side
runs{ stable: number; canary: number }—Runs on each version since the rollout started
stagesnumber[]STAGESThe steps of a rollout, as shares – defaults to 5, 25, 50 and 100 %
nextStepAtnumber—When the next step comes, epoch ms
nownumber—Where now stands, epoch ms – defaults to the clock
defaultOpenstring | 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——
loadingbooleanfalse—
emptybooleanfalseNo releases yet