Skip to main content

Module ledger

Module ledger 

Source
Expand description

Terminal action lifecycle accounting.

A LifecycleLedger accepts only terminal dispositions and rejects a second disposition for the same action id. Its custom deserializer applies the same validation, so the one-terminal-record invariant also holds for artifacts loaded from storage.

Structs§

ActionDisposition
Exactly one terminal accounting record for one runner action.
LifecycleLedger
Ordered terminal action records with a uniqueness invariant on action_id.

Enums§

ActionDispositionStatus
Terminal result of applying an action to a runner/engine.
LedgerError