argoproj / argoproj/argo-workflows
Add previous resource request to `lastRetry`
- Dominant language
- Go
- Stars
- 17k
- Forks
- 3.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 138
Description
# Summary
Add the previous run memory request to lastRetry
## Use Cases
I'd like to be able to better control the memory request on retries. Sometimes I don't need to increase it (when the pod is evicted from a spot instance for example). On other occasions (OOMKilled) I'd like to exponentially increase it. Knowing the previous resource request along with [https://github.com/argoproj/argo-workflows/pull/12722](https://github.com/argoproj/argo-workflows/pull/12722 ) should make this possible.
---
**Message from the maintainers**:
Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.
Contributor guide
Research direction
Start at the existing lastRetry entry point and compare the behavior described in pull request #12722. Trace how retry metadata and resource requests are represented; done means lastRetry exposes the previous run's memory request so callers can distinguish eviction retries from OOMKilled retries, with relevant coverage added.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- backend, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100