[Core feature] Add timeout to ContainerTask
- Dominant language
- Go
- Stars
- 7.5k
- Forks
- 886
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 120
Description
### 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 `ContainerTask`s.
### 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 `PodTemplate`s 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
Contributor guide
Assessment
This issue has not been assessed yet.