Skip to main content

Module model

Module model 

Source
Expand description

What an execution is: its identity, the states it may be in, and the snapshot every transport answers with. Plain data with no transport type in it and no handle to a running thread: a snapshot is taken under the store’s lock and read afterwards.

Structs§

Actor
Who asked, and which peer they are when this process knows.
Execution
One execution, as every transport answers it.
ExecutionDiagnostic
A structured finding an execution reported on its way, distinct from its outcome.
ExecutionError
Why an execution ended badly, in the repository’s diagnostic vocabulary rather than in Rust’s: a code a program branches on, a sentence a person reads, and where to look.
ExecutionId
The identity of one execution: x-<UTC timestamp>-<8 hex>.
ProgressView
How far along an execution is.
RepositoryRef
Which repository, and which checkout of it, an execution ran against.
StepView
One named phase of an execution, as the handler reported it.

Enums§

ActorKind
Who asked for the execution. Not an authorisation decision — this server authenticates nobody — but a fact worth carrying into the audit line and the UI.
ExecutionState
Where an execution is in its life.
LogStream
Which stream a log line came from.
StepState
Where a step of an execution stands.

Functions§

compact_utc
YYYYMMDDTHHMMSSZ in UTC from a Unix second, the compact form of the layer’s own timestamps.