-
Notifications
You must be signed in to change notification settings - Fork 198
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
Change timeout to apply to the overall build process, not per-build #2185
base: master
Are you sure you want to change the base?
Conversation
Mostly a draft because I want more discussion on the idea, this would drastically reduce the total amount of time crates can consume, from 5.5 hours (15 minutes per build, 2 builds per target (with/without |
879bebd
to
2bbcb36
Compare
One other case this potentially impacts a lot is when a crate is published with an incorrect lockfile, to get any docs the failure with the old lockfile and then the successful build with the new lockfile will have to complete together within the timeout. I want to add more detailed logging and more visible metrics around this to the |
2bbcb36
to
05a02f3
Compare
when we would deploy this, we wouln't have any idea how many crate builds we would break. I assume #2186 would help a little, but only for the builds in the time observed. Same as #1011 when we record more information about the build. Do we have other ways to optimize? |
Nope, only on the default target, when the default target succeeds we do all the extra-targets with whichever lockfile was successful. |
Without more data this change feels quite risky, what do you think about waiting for the results of #2186 and then deciding? |
Sounds good. |
fixes #1910