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

feat: add shouldRestore config to job queue tasks #10059

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

AlessioGr
Copy link
Member

By default, if a task has passed previously and a workflow is re-run, the task will not be re-run. Instead, the output from the previous task run will be returned. This is to prevent unnecessary re-runs of tasks that have already passed.

This PR allows you to configure this behavior through the retries.shouldRestore property. This property accepts a boolean or a function for more complex restore behaviors.

@AlessioGr AlessioGr changed the title feat: job queues: add shouldRestore config to tasks feat: add shouldRestore config to job queue tasks Dec 18, 2024
@AlessioGr AlessioGr merged commit 194a8c1 into main Dec 18, 2024
73 checks passed
@AlessioGr AlessioGr deleted the feat/queues-shouldrestore branch December 18, 2024 20:16
Copy link
Contributor

🚀 This is included in version v3.9.0

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

Successfully merging this pull request may close these issues.

1 participant