Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Increase timeout for crates publishing job #12934

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

joao-paulo-parity
Copy link
Contributor

Necessary when lots of crates need to be published, as demonstrated by https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2158667

necessary when lots of crates need to be published, as demonstrated by https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2158667
@joao-paulo-parity joao-paulo-parity added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Dec 15, 2022
@joao-paulo-parity joao-paulo-parity requested a review from a team as a code owner December 15, 2022 01:37
@joao-paulo-parity joao-paulo-parity changed the title Increase timeout for publishing job Increase timeout for crates publishing job Dec 15, 2022
@paritytech-ci paritytech-ci requested a review from a team December 15, 2022 06:50
@@ -211,7 +211,7 @@ update-node-template:
# taking into account the 202 (as of Dec 07, 2022) publishable Substrate crates, that would equate
# to roughly 202 minutes of delay, or 3h and 22 minutes. As such, the job needs to have a much
# higher timeout than average.
timeout: 5h
timeout: 9h
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to publish crates in parallel? Because if the job is going to run at night the runner might not get the latest cache for rusty-cachier

Copy link
Contributor Author

@joao-paulo-parity joao-paulo-parity Dec 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to publish crates in parallel

Currently no. To publish a crate you need to publish all of its dependencies first, so it's a serial processing operation which happens in the context of a single job. I couldn't find a nice way to parallelize that so far.

if the job is going to run at night the runner might not get the latest cache for rusty-cachier

Caching is not used for publishing to crates.io at the moment. It might be possible to use it in the future.

@paritytech-ci paritytech-ci requested a review from a team December 15, 2022 09:24
@joao-paulo-parity
Copy link
Contributor Author

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 47ebf87 into paritytech:master Dec 15, 2022
@joao-paulo-parity joao-paulo-parity deleted the timeout branch December 15, 2022 12:19
ltfschoen pushed a commit to ltfschoen/substrate that referenced this pull request Feb 22, 2023
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants