straight-businessperson-54649
02/06/2025, 3:31 AM1.12.0
and our user errors don't result in retries when retries are set in task decorator.straight-businessperson-54649
02/06/2025, 3:36 AMflyte-propeller-config
core.yaml:
----
propeller:
node-config:
ignore-retry-cause: true
interruptible-failure-threshold: 1
Task decorator:
@task(
cache=False,
interruptible=True,
retries=3,
)
Flytekit version: 1.12.3
Expected behavior: Flyte will retry 3 times even if user error
Actual behavior: Flyte fails on 1st attempt (user error)clean-glass-36808
02/06/2025, 3:44 AMraise FlyteRecoverableException
https://docs.flyte.org/en/latest/user_guide/flyte_fundamentals/optimizing_tasks.html#configuring-retries
Otherwise task code errors are considered terminalclean-glass-36808
02/06/2025, 3:45 AMignore-retry-cause
is more about user vs system and how it counts towards a single budgetstraight-businessperson-54649
02/06/2025, 6:01 PMFlyteRecoverableException
to any RuntimeError
would raise a user error retry.
We'll change our exception to FlyteRecoverableException
. Appreciate your help!careful-australia-19356
02/06/2025, 6:56 PM