Make Che-Code CI build more stable when downloading artifacts from api.github.com
#22003
Labels
area/editor/vscode
Issues related to the Code OSS editor of Che
kind/task
Internal things, technical debt, and to-do tasks to be performed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P2
Has a minor but important impact to the usage or development of the system.
Is your task related to a problem? Please describe
Che-Code build has external dependencies downloaded from
api.github.com
.Often, downloading process is failed with the error:
For more details, see https://github.com/che-incubator/che-code/actions/runs/4140287034/jobs/7158796952.
It used to be a minor issue for the GitHub Workflow-based CI until we included Che-Code into the overall Che release flow.
During the Che release, Che-Code build error breaks the release process and requires rerunning it.
Describe the solution you'd like
As it's recommended in microsoft/vscode-ripgrep, we set the
GITHUB_TOKEN
environment variable:vscode-ripgrep
che-incubator/che-code#170vscode-ripgrep
che-incubator/che-code#174After setting the
GITHUB_TOKEN
, we haven't noticed any downloading issues for about a week (Feb 2 - Feb 8).But, after Feb 8, the problem became relevant again.
We need to investigate if the
GITHUB_TOKEN
environment variable is propagated correctly to microsoft/vscode-ripgrep.Describe alternatives you've considered
It may be helpful to check how the problem is solved upstream, for microsoft/vscode CI build.
Additional context
https://github.com/microsoft/vscode-ripgrep/blob/bc5cb922416b4ee0aacf4c0252e42ac78c7ed7e9/lib/postinstall.js#L77
The text was updated successfully, but these errors were encountered: