-
Notifications
You must be signed in to change notification settings - Fork 59
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
Automatically retry download failures #153
Comments
Thanks for the issue, I noticed the repo is on quite an old version of this module, and there have since been fixed in a similar vein (e.g. cabeacc a couple weeks ago). Please update to the latest |
It doesn't seem to be fixed with the new package. After the error message below, the terminal just sits and I have to break out of the test with CTL+C.
|
I submitted a PR with the changes anyway to see if it makes a difference in our CI. Could you let me know if I did anything wrong with the upgrade? |
Looks good. Note that while you still may get ECONNRESET's (since those are ultimately network errors) they should now be properly catchable and retryable |
Thanks for looking! |
* Replace vscode-test with @vscode/test-electron Related: microsoft/vscode-test#153 * chore: auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Thank you! |
Recently we've been hitting the following problem with our CI on macOS for the CMake Tools extension:
It's not consistent, but it is happening enough to be disruptive. I traced it to this line which is not wrapped with try/catch:
vscode-test/lib/runTest.ts
Line 118 in cabeacc
It seems a related issue was opened a few years ago to make this API catchable: #49 But if I try to wrap my
runTests
call in a try/catch, it still doesn't work. Reading around the Internet, I also came across this issue which seems related: nodejs/node#27916To Reproduce
Run the following commands on an M1 mac. (requires yarn v1)
The text was updated successfully, but these errors were encountered: