pub struct WorkflowTaskCompletionTooLarge {
pub status: u16,
pub limit_kind: String,
pub limit: Option<u64>,
pub size: u64,
pub message: String,
pub body: Value,
}Expand description
A workflow-task completion the Server refused as larger than its aggregate
completion limit (HTTP 413, reason: "payload_too_large",
limit_kind: "workflow_task_completion_bytes").
Native Server 3.6.0 accepts a completion with commands up to 16 times the
per-payload limit (32 MiB by default); each command’s arguments must still
meet the per-payload limit. The refusal is deterministic: running the same
workflow task again produces the same completion, so the SDK never resends it. limit
is the Server’s limit in bytes when it reports one, and size is the
encoded request body the SDK sent. A Worker answers the refusal by
completing 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 or
parking the run. Split the fan-out into smaller batches, move work into child
workflows, or continue as new; offload large payloads with external payload
storage.
Fields§
§status: u16§limit_kind: String§limit: Option<u64>§size: u64§message: String§body: ValueTrait Implementations§
Source§impl Clone for WorkflowTaskCompletionTooLarge
impl Clone for WorkflowTaskCompletionTooLarge
Source§fn clone(&self) -> WorkflowTaskCompletionTooLarge
fn clone(&self) -> WorkflowTaskCompletionTooLarge
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more