Skip to main content

Module persistence_operation

Module persistence_operation 

Source
Expand description

Operation labels passed to Metrics::on_persistence_error.

Named constants rather than string literals at the call sites, so the set stays bounded and greppable — an operator building a dashboard needs to know every value this can take, and a typo at one call site would otherwise create a silent second series.

Constants§

ARTIFACT_APPEND
Persisting parts appended to an existing artifact.
ARTIFACT_PUSH
Persisting a newly added artifact.
FAILED_STATE
Persisting the failed state after an invalid transition was rejected.
HISTORY_APPEND
Persisting an agent message appended to the task’s history.
STATUS_UPDATE
Persisting a task status transition.
TASK_SNAPSHOT
Persisting a whole-task snapshot event.