acoustic-carpenter-78188
11/06/2023, 4:42 PMFailed to update workflow. Error [rpc error: code = ResourceExhausted desc = trying to send message larger than max (2805993 vs. 2097152)]
and the workflow status stays in RUNNING forever unless aborted via the UI.
Expected behavior
The workflow status should be updated to FAILED to reflect the task failure.
Additional context to reproduce
We've been able to reproduce a minimal example of this behavior using flyte milestone release 1.6.2 & flytekit 1.10.0:
from flytekit import workflow, task
@task
def raise_giant_error() -> None:
error_line = "This is a really big error"
n_lines = 100000
raise ValueError("\n".join([error_line] * n_lines))
@workflow
def giant_error_wf() -> None:
raise_giant_error()
this results in the task being marked as FAILED showing the full giant error in the UI, but the workflow remains stuck in RUNNING. This happens even with UseOffloadedWorkflowClosure turned on.
Screenshots
image▾