flyte icon indicating copy to clipboard operation
flyte copied to clipboard

Implement max_queued_time (timeout) system for TaskActionCRD

Open kumare3 opened this issue 1 month ago • 3 comments

The Union engine supports max_queued_time. Add this to oss: https://www.union.ai/docs/v2/union/user-guide/tasks/task-configuration/retries-and-timeouts/#max_queued_time-fail-fast-when-capacity-isnt-available

kumare3 avatar Oct 07 '26 23:10 kumare3

Flyte OSS supports max_queued_time via the timeout parameter in the @env.task decorator, allowing you to cap the time a task spends waiting to run (Queued + Waiting for resources) before execution begins. This is a per-attempt bound and resets on each retry; if the budget is exceeded, flyte.errors.MaxQueuedTimeExceededError is raised. See Retries and timeouts for details.

Would you like a code example or more detail on how to implement this in a TaskActionCRD?

Sources:


This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.

Mention @herald to ask follow-up questions. See runllm.com for more!

runllm avatar Oct 07 '26 23:10 runllm

Reopening: still needs to be implemented.

AdilFayyaz avatar Oct 27 '26 22:10 AdilFayyaz

Implemented in #8114

popojk avatar Oct 28 '26 03:10 popojk