<#3606 [BUG] Runtime error causes retries> Issue c...
# flyte-github
a
#3606 [BUG] Runtime error causes retries Issue created by gregfriedland Describe the bug When a task fails with a user-generated
RuntimeError
, the workflow is retried. According to the docs, it seems like this case is considered non-recoverable and should not be retried. Expected behavior Workflow and task fail with no retries Additional context to reproduce No response Screenshots Traceback (most recent call last):
Copy code
File "/app/pip_pypi__flytekit/flytekit/exceptions/scopes.py", line 203, in user_entry_point
    return wrapped(*args, **kwargs)
  File "/app/atomwise/...", line 266, in run_block
    block.validate_output(cmpds, result)
  File "/app/atomwise/..., line 119, in validate_output
    raise RuntimeError(
Message:
Copy code
<blah>
User error. Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte