Skip to content
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

Pass runtime metadata to tasks #73

Open
pipex opened this issue Sep 19, 2024 · 0 comments
Open

Pass runtime metadata to tasks #73

pipex opened this issue Sep 19, 2024 · 0 comments

Comments

@pipex
Copy link
Collaborator

pipex commented Sep 19, 2024

When re-planning due to a failure, metadata from previous calls to a task (result from the previous calls, number of tries) should be included in the context passed to the task functions. This would allow tasks to use this additional information as part of the condition allowing the planner to chose different paths when a failure happen.

For instance, a task that performs a download to a resource could check if a previous call to the task with the same resource and mirror failed, to allow a separate task that switches mirrors to be selected before as part of the new plan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant