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.
AUDIT_APPEND
Writing a record to the audit log (the audit feature).
EVENT_APPEND
Appending one event to a task’s event log.
EVENT_LOG_CATCHUP
Waiting for a task’s event log to catch up with what was already broadcast, on a resubscribe that asked to resume.
FAILED_STATE
Persisting the failed state after an invalid transition was rejected.
HISTORY_APPEND
Persisting an agent message appended to the task’s history.
PUSH_CONFIG_LIST
Reading a task’s webhook list to deliver an event.
QUEUE_HANDOFF
Handing an event from the executor’s queue to the persistence processor.
STATEMENT
One PostgreSQL statement, run again after its connection was lost (store::pg_retry); reported only through Metrics::on_store_retry.
STATUS_UPDATE
Persisting a task status transition.
TASK_SNAPSHOT
Persisting a whole-task snapshot event.