-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
ci: fix hang when validating AppVeyor artifacts #39362
Conversation
8371199
to
307a368
Compare
307a368
to
c6f9713
Compare
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.
Nice!
No Release Notes |
I was unable to backport this PR to "25-x-y" cleanly; |
I was unable to backport this PR to "26-x-y" cleanly; |
I was unable to backport this PR to "22-x-y" cleanly; |
I was unable to backport this PR to "23-x-y" cleanly; |
I was unable to backport this PR to "24-x-y" cleanly; |
(cherry picked from commit 1eb6e45)
(cherry picked from commit 1eb6e45) Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
(cherry picked from commit 1eb6e45) Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Description of Change
Occasionally on build failures, the logic to detect if all artifacts have been uploaded to AppVeyor was hanging causing builds to run for 3 hours before timing out - eg https://ci.appveyor.com/project/electron-bot/electron-woa-testing/builds/47688239/job/02vd8tkwssqxt1ig.
It turns out that trying to fail the build in the
on_finish
step was causing the hang. This PR moves the logic to check the artifacts to the build step but leaves the actual uploading of artifacts in theon_finish
step as we want to upload any artifacts we have even on build failure.Checklist
npm test
passesRelease Notes
Notes: none