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(config): provide function to dynamically assign resources based on number of attempts #380

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

pbelmann
Copy link
Member

This PR allows to assign a new error handling strategy to selected processes.
Currently all processes, with the exception of Megahit, are simply retried with the same resources (CPUs, memory) assigned.
In cases where it can be foreseen that a process might need more RAM for bigger input data, the new strategy
can be assigned to the process to allow to increase the requested RAM value based on the number of execution attempts.

Development documentation has been extended regarding the usage of the new strategy.

This PR solves issue #355

PR review guidelines

Thank you for submitting this PR.

Before merge:

  • A PR must be reviewed by one of the team members.

  • Please check if anything in the documentation must be adjusted, or added (development-setup, production-setup, user-guide).

  • PRs with new modules or workflow interfaces must include tests according to the developer guidelines.

  • The new code is readable, well commented and should adhere to our developer guidelines.

  • Before merging it must be checked if a squash of commits is required.

@pbelmann pbelmann merged commit 876319a into dev Nov 21, 2024
21 checks passed
@pbelmann pbelmann deleted the feat/additional-error-ram-strategy branch November 21, 2024 10:50
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

Successfully merging this pull request may close these issues.

1 participant