Skip to content

af stop

Stop an actor and every agent it started

You can stop your own agents; an administrator can stop any agent or runner, and a platform administrator can stop a server node. A stopped node leaves the cluster.

Stopping an agent runner stops every agent it hosts too, and what they started: their orders end as lost, and the orders it had been given but whose agents were not born return to the queue. Stopping an agent that a runner hosts leaves the runner.

Before sending the stop, it prints on its standard error the stop’s reference, with which af stop-status <reference> asks what came of it, should no answer come. For an agent or a runner, the forge waits up to ten seconds before answering for every repository to take the stop in: once one has, nothing of the stopped actors is published there, work already under way included. The answer names any repository that has not yet, and the forge goes on taking the stop in there.

Usage

af stop [OPTIONS] <ACTOR>

Arguments

  • <ACTOR>

    ID of the actor to stop, in hex

Options

  • --reason <REASON>

    Reason for stopping it, recorded with the stop

    Default: ""

Global options

Every af command also takes the global options.

Examples

af stop 30554fe19ccdf588726c72ffe25d128284b567e44d81a4f250500d9bed1c93f7 --reason "it wrote outside its task"

Type to search…

↑↓ navigate↵ selectEsc close