-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context-aware retries using previous resource requirements. #696
Comments
task
variable.
I realized upon a closer reading of the specification that this is already supported through the |
Opening this again because @peterhuene pointed out to me that |
To fix this, I suggest we expand the hidden task scope to include evaluation of Additionally, we change the types of the following
Personally, I think such a change would be relatively backwards compatible with what's in 1.2.0 and could be fixed in a 1.2.1 release of the spec without having to wait for 1.3.0 to enable this functionality. |
It would be really useful to reference parameters from previous runs upon retry. For example, if you'd like to keep retrying a job up until a particular limit until it succeeds, it would could theoretically be expressed like this.
In other words, if this is the first iteration of the task, start with 2 GB. Otherwise, take the previous task requirement and double it. I'm curious if this is something that might be generally useful when building robust task implementations.
Open Questions
task.previous
(or similar), or should there be, say, an array of task requirements from previous attempts?The text was updated successfully, but these errors were encountered: