Skip to main content

Module worker_failure_note

Module worker_failure_note 

Source
Expand description

What a leader is told about why a worker’s turn failed, and what happens next. What a leader is told about why a worker’s turn failed, and what happens next (#2617): the class the failure was stored under (agent:last_failure, written before the agentfailure event that worker_notes hears), whether it is worth retrying, and who retries it.

Functions§

code_name
The stored failure’s class as the wire names it (rate_limited, network…), for the detail of an agent whose last run ended in an error: error alone doesn’t say whether to retry.