You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SDK should fail workflow task if payloads size it known to be too large #723
Is your feature request related to a problem? Please describe.
Currently Temporal has limits on the max payload size that can be used for operations like starting a workflow or signaling a workflow. If a user hits this limit the request will fail, leaving the workflow run in a failed state. If a workflow can be updated to minimize the payload size (e.g. compress data, move to some other storage), existing workflow runs can be resumed.
Describe the solution you'd like
If the SDK knows the error limits for payloads, it can submit a workflow task failure rather than submitting a completion that contains oversized payloads. This saves network costs by avoiding the upload of known oversized payloads and allows workflows to continue, provided the workflow is updated to address the oversized payloads.
Activity