flyte icon indicating copy to clipboard operation
flyte copied to clipboard

[Core feature] Add timeout to ContainerTask

Open cjidboon94 opened this issue 9 months ago • 6 comments

Motivation: Why do you think this is important?

For regular python tasks the user can set a timeout by passing timeout in the @task decorator. I think the same should be possible for ContainerTasks.

Goal: What should the final outcome look like, ideally?

e.g. ContainerTask(..., timeout=timedelta(seconds=60) should set a 60 second timeout

Describe alternatives you've considered

I think it could be done via PodTemplates atm but that seems overkill for something like this.

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

  • [x] Yes

Have you read the Code of Conduct?

  • [x] Yes

cjidboon94 avatar Mar 20 '25 12:03 cjidboon94

hey @lalala-h just checking if you are already working on this or plan to work on this soon: I am new to Flyte and looking to take a good first issue to get started :P

1fanwang avatar May 18 '25 05:05 1fanwang

hey @lalala-h just checking if you are already working on this or plan to work on this soon: I am new to Flyte and looking to take a good first issue to get started :P sry for the late reply. Got caught up with some other stuff, currently working on this, but if you can't find another good first issue, feel free to take it

lalala-h avatar Jun 08 '25 11:06 lalala-h

Hi @lalala-h, just wondering if there’s been any progress on this issue — I didn’t see a related PR. I’m also new here and looking to try some good first issues, so if this one is still open, I’d be happy to give it a shot.

Narwhal-fish avatar Aug 13 '25 07:08 Narwhal-fish

Hi @lalala-h, just wondering if there’s been any progress on this issue — I didn’t see a related PR. I’m also new here and looking to try some good first issues, so if this one is still open, I’d be happy to give it a shot.

@Narwhal-fish Feel free to do it, I'm sry I dont know how to reassigned this issue to you

lalala-h avatar Aug 13 '25 07:08 lalala-h

This should be easy to do. Please assign

kumare3 avatar Aug 13 '25 14:08 kumare3

This should be easy to do. Please assign

@kumare3 I check Github Docs And it said only user with write access to a repository can assign issues. I can't click assign button on the right side menu, please help.

lalala-h avatar Aug 13 '25 14:08 lalala-h