-
Notifications
You must be signed in to change notification settings - Fork 760
Move task hashing logic to separate class #6572
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
Conversation
✅ Deploy Preview for nextflow-docs-staging canceled.
|
modules/nextflow/src/test/groovy/nextflow/processor/TaskProcessorTest.groovy
Show resolved
Hide resolved
modules/nextflow/src/test/groovy/nextflow/processor/TaskProcessorTest.groovy
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bit against reshuffling code without a clear motivation.
|
The motivation is in the PR description |
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
ee02d3a to
0ab7470
Compare
jorgee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall changes look fine with me. Just a minor comment about some method moved to TaskHash to consider to move to TaskRun as it looks like they are just using TaskRun data and they are also called from the LinObserver.
This PR moves the task hashing logic from
TaskProcessorto a separate classTaskHasher