-
Notifications
You must be signed in to change notification settings - Fork 360
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
Allow GCP global pipeline timeout to be configurable #5273
Allow GCP global pipeline timeout to be configurable #5273
Conversation
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.
Have you tested that this is respected if given more than 7 days?
It'd be a shame for this PR if Google expected that people might want to lower this value, but didn't want anyone to raise it.
...ain/scala/cromwell/backend/google/pipelines/common/PipelinesApiConfigurationAttributes.scala
Outdated
Show resolved
Hide resolved
...nes/v2alpha1/src/main/scala/cromwell/backend/google/pipelines/v2alpha1/GenomicsFactory.scala
Outdated
Show resolved
Hide resolved
Google confirmed to me that yes, it can be raised, up to 30 days – that might be a useful thing to note in a config comment. |
@hkeward welcome to our repo and thank you for your contribution. We were actually looking at making this timeout configurable ourselves, so you've done some of our work for us. |
@cjllanwarne FYI @hkeward and I encountered this while running some Structural variant calling using delly. Its an edge case that we have encountered maybe once before, but its great to see that you guys were thinking of implementing it already. @aednichols is that a hard cap on 30 day? In that case, it might be advisable to check the maximum value and strictly require less 30 days |
Yes @patmagee hard cap |
Hi @hkeward, would you mind updating your branch from our latest |
(cherry picked from commit fcd455398146dd01780b25f8e2a479547518fb55)
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.
A very handy config option like this should be documented in docs/Google.md
and also perhaps CHANGELOG.md
...ain/scala/cromwell/backend/google/pipelines/common/PipelinesApiConfigurationAttributes.scala
Outdated
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.
Awesome, thanks again for this contribution! 😄
Passed CI at #5376 with same commit |
If a timeout is not provided, GCP defaults to setting a timeout of 7 days, after which the pipeline will abort.
Occasionally pipelines genuinely need to run >7 days. These changes allow this value to be user-configured.