[LS] Intermittent network errors in CI
Summary
Sporadically LS pipelines fail due to the connection error.
Steps to reproduce
The error is intermittent and cannot be reproduced reliably
Relevant logs and/or screenshots
npm ERR! network aborted
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-01-13T02_17_00_175Z-debug-0.log
https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/jobs/8831343273
Additional details
- Upgrade to Node 20 (#680 (closed)) helped some users::
https://github.com/actions/runner-images/issues/3737
- Retries can be added for the task as a temporary solution.
- It is possible that this happens when we fetch
tree-sitter
packages from thegithub
, connection to it may not be as reliable as to the NPM package registry.
Edited by Bohdan Parkhomchuk