-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[gtk3] Turn hang into timeout #32327
base: master
Are you sure you want to change the base?
Conversation
|
||
# Temporary mitigation for build being stuck for unclear reasons, | ||
# https://github.com/microsoft/vcpkg/issues/29018 | ||
if(EXISTS "${SCRIPTS}/cmake/vcpkg_install_meson.cmake") |
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.
Avoiding a hard dependency on this filepath.
ports/gtk3/portfile.cmake
Outdated
if(EXISTS "${SCRIPTS}/cmake/vcpkg_install_meson.cmake") | ||
file(READ "${SCRIPTS}/cmake/vcpkg_install_meson.cmake" install_meson) | ||
string(REPLACE [[COMMAND "${NINJA}"]] [[ | ||
TIMEOUT 3600 |
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.
Change to 5 if you want to verify the effect.
@ras0219-msft @markle11m @dan-shaw @JavierMatosD We discussed this PR and feel that this is better implemented as a general build timeout in the vcpkg executable. Any build that is taking longer than the timeout causes vcpkg to stop so that CI has time to upload logs. The timeout should be a user setting and we can pick a value that works for our CI (the team thinks 5 hours should be OK). @ras0219-msft also points out that the current implementation of the timeout is not good since it couples the implementation of |
When will it come? |
Now using 5 hours.
Already done in a way which should degrade gracefully. |
Mitigation for #29018.
From proper failures, we will be able to get CI logs for port gtk3.
CC @BillyONeal.
./vcpkg x-add-version --all
and committing the result.