-
Notifications
You must be signed in to change notification settings - Fork 18
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
disable call caching for various workflows #251
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nt task, and ncbi_datasets task. enabled multi-threading for transfer_column_content task also
Perhaps also add to Is this another task that should always run fresh every time? I think yes to prevent from previous workflow outputs from being kept, despite the workflow being re-run. |
sage-wright
approved these changes
Dec 5, 2023
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.
⭐
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Need to test in Terra, but wanted to at least get the draft PR in place.Testing is done in Terra, ready for review and further testing. I would recommend that the reviewer re-launches workflows on the dev branch
cjk-disable-call-cache
for workflows that have been run previously. If you don't have previous workflows, launch the workflow twice. Ensure the call cache box IS CHECKED (default behavior) and inspect job manager to ensure cache was not used for the updated WDL tasksCloses #250 #235
🛠️ Changes Being Made
Added this code to a few different task files:
So that call caching is disabled when running these workflows in Terra. In my opinion these are workflows where the expected behavior is to always run from the beginning, regardless of previous attempts.
The benefit of knowing the output files are fresh & not having to troubleshoot after a user accidentally forgets to disable the call caching feature in Terra (which is on by default) far outweigh the benefit of saving on compute time.
Impacted Workflows/Tasks
gsutil -m
export_two_tsvs
andcompare_two_tsvs
,🧠 Context and Rationale
See above for rationale
📋 Workflow/Task Steps
N/A
Inputs
N/A
Outputs
N/A
Impacted Outputs
🧪 Testing
Locally
Did not test locally, change is most relevant to Terra environment. Although these files pass
miniwdl check
syntax check.Terra
Will add test workflows later
Scenarios for Reviewer to Test
Would be good to re-launch workflows that have been run in the past. Then inspect the Job Manager in Terra and ensure call caching is off for the specified task.
🔬 Quality checks
Pull Request (PR) checklist: