forked from broadinstitute/cromwell
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Features : Optional_Files, jobTimeout and LogStream to metadata #55
Open
geertvandeweyer
wants to merge
13
commits into
henriqueribeiro:develop_aws
Choose a base branch
from
geertvandeweyer:fix/optional_output_files
base: develop_aws
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Features : Optional_Files, jobTimeout and LogStream to metadata #55
geertvandeweyer
wants to merge
13
commits into
henriqueribeiro:develop_aws
from
geertvandeweyer:fix/optional_output_files
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
This was referenced Nov 15, 2024
geertvandeweyer
changed the title
Feature/Optional_Files
Features : Optional_Files, jobTimeout and LogStream to metadata
Nov 28, 2024
testing shows that : Array[File?] in call caching caused cache hit missing. => fix this before approving |
PR passed my testing. Ready for review & merging. |
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.
Optional Files
As raised by Peter Thomas on slack :
Added support for optional files in the AWS handling of (de)localization and caching:
Tested for input and output of individual tasks and workflows:
Note: Mixed types are not supported and cast to mandatory files:
jobTimeout
It is now possible to specify a maximal job runtime (walltime) for jobs on the AWS backend. If the time is exceeded, the job is teminated. Use this to kill hanging jobs (seen in R multicore processing in our case). Added to README for documentation
LogStream
The CloudWatch LogGroupName, LogStreamName and the AWS region the job was executed in, are now added to the task call metadata. Query cromwell for metadata to retrieve it. These logstreams also contain info on (de)-localization, in contstrast to stdout/stderr from the metadata.
extra : minor optimization on hashing through EFS/MD5 files : if considered invalid, return a random string instead of the same message each time. This forces a cache-break.
For testing : see release 87.1-AWS in my own fork : https://github.com/geertvandeweyer/cromwell/releases/tag/87.1-AWS