Sends one event to the change agent of a pull request or of a revision, which is a deployed commit named by
a commit reference. Each change has one long-lived change_validation agent, and this call is the only
way to create or message it.
stage.requestedasks the agent to validate one stage of the repository's policy at a head commit. The
first one for a change creates its agent, and the caller becomes the agent's principal for the rest of
its life.commandmessages an existing pull request's agent.pull_request.mergedsays the pull request of an existing agent merged. When the policy read at the
merge commit setsmerge_mabl_branches, mabl merges the pull request's mabl branch into master, as the
caller and fast-forward only.
Every caller, not only the first, must be able to do everything the agent does, and a person must hold a
role in the workspace. Requests for one stage are ordered by event.occurred_at, and the response's
event says what became of this one. A retry of any call is safe.
Branch on error_code in an error body: invalid_request (400), feature_disabled,
principal_too_narrow and principal_gone (403), no_change_agent (404), change_agent_closed,
too_many_stages and another_repository (409), and agent_stopping (503), which a client retries. A
body that breaks the request schema is refused with a 400 that carries no error_code.
For how the calls fit together and what to do about each error, see
Run change validation from your own CI.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||