pub struct WorkflowTaskHistoryLimitExceeded {
pub status: u16,
pub reason: String,
pub limit_kind: String,
pub current_value: Option<u64>,
pub configured_limit: Option<u64>,
pub message: String,
pub body: Value,
}Expand description
A workflow-task completion the Server refused because recording it would
exceed its history-transaction budget (HTTP 409, reason: "history_transaction_limit_exceeded" or "completion_budget_exceeded").
A completion is recorded in one history transaction, bounded by the
Server’s history_transaction_size (events), history_transaction_bytes
and history_transaction_rows structural limits. ActivityScheduled
events repeat their arguments, so a fan-out within the completion size limit
can still exceed a lowered DW_V2_LIMIT_HISTORY_TRANSACTION_BYTES. The
refusal rolls the transaction back, so nothing was recorded. Native Server
3.13.0 names limit_kind, the measured current_value and the
configured_limit; each field is None here when the Server did not report
it, and limit_kind is then the refusal reason.
Like WorkflowTaskCompletionTooLarge, the refusal is deterministic: the
same task produces the same completion, so the SDK never resends it. A
Worker completes the same task once with a non-retryable
fail_workflow command whose message starts with Structural limit exceeded:, so the run fails with failure category structural_limit
instead of retrying the task forever.
Fields§
§status: u16§reason: String§limit_kind: String§current_value: Option<u64>§configured_limit: Option<u64>§message: String§body: ValueTrait Implementations§
Source§impl Clone for WorkflowTaskHistoryLimitExceeded
impl Clone for WorkflowTaskHistoryLimitExceeded
Source§fn clone(&self) -> WorkflowTaskHistoryLimitExceeded
fn clone(&self) -> WorkflowTaskHistoryLimitExceeded
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more