-
Notifications
You must be signed in to change notification settings - Fork 590
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
Fix up FQ and race condition issues with volatile tasks work [VS-478] #7888
Conversation
@@ -11,6 +11,8 @@ workflow GvsCreateAltAllele { | |||
String? service_account_json_path | |||
} | |||
|
|||
String fq_alt_allele_table = "~{dataset_name}.alt_allele" |
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.
do we want project name in this too to keep it consistent?
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.
yup, that turns out to be a required fix.
Codecov Report
@@ Coverage Diff @@
## ah_var_store #7888 +/- ##
================================================
Coverage ? 86.291%
Complexity ? 35196
================================================
Files ? 2170
Lines ? 164888
Branches ? 17785
================================================
Hits ? 142284
Misses ? 16280
Partials ? 6324 |
@@ -11,6 +11,8 @@ workflow GvsCreateAltAllele { | |||
String? service_account_json_path | |||
} | |||
|
|||
String fq_alt_allele_table = "~{project_id}.~{dataset_name}.alt_allele" |
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.
bug 1: alt allele table must be fully qualified
@@ -110,7 +110,7 @@ workflow GvsExtractCallset { | |||
call Utils.GetBQTableLastModifiedDatetime as FilterSetInfoTimestamp { | |||
input: | |||
query_project = project_id, | |||
fq_table = "filter_set_info", | |||
fq_table = "~{fq_gvs_dataset}.filter_set_info", |
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.
bug 3: same as bug 1, BQ table name must be fully qualified here.
@@ -27,8 +29,9 @@ workflow GvsCreateAltAllele { | |||
|
|||
call Utils.GetBQTableLastModifiedDatetime { | |||
input: | |||
go = CreateAltAlleleTable.done, |
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.
bug 2: getting the last modified datetime of the alt allele table should run only after the alt allele table has been created
…non_fq_invocations
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.
LGTM
Integration test successful https://app.terra.bio/#workspaces/broad-firecloud-dsde/VS-415%20GVS%20Quickstart%20Default%20Extract%20Scatter/job_history/73ac71db-0488-46be-a8e8-7f00e795edec