Skip to content
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

fix(workflows): rate limit downloading ripgrep #8865

Merged
merged 1 commit into from
May 16, 2023
Merged

Conversation

LeoMcA
Copy link
Member

@LeoMcA LeoMcA commented May 15, 2023

Summary

Problem

We hit a rate limit when installing yarn packages in CI, and the job fails as a result, requiring manual intervention.

Solution

Setting the GITHUB_TOKEN environment variable should use a per-token rate limit, rather than a public one: https://github.com/microsoft/vscode-ripgrep#github-api-limit-note

How did you test this change?

Testing in this draft PR.

@LeoMcA LeoMcA requested a review from caugner May 15, 2023 17:01
@LeoMcA LeoMcA marked this pull request as ready for review May 15, 2023 17:01
@yin1999
Copy link
Member

yin1999 commented May 16, 2023

We may also need this in content and translated-content

@LeoMcA
Copy link
Member Author

LeoMcA commented May 16, 2023

Gonna merge this for now, and revert later with my refactor, to fix the immediate problem.

We may also need this in content and translated-content

@yin1999 I'm going to attempt to remove our dependency on ripgrep soon (after working on some other issues) if I'm not successful I'll open a similar PR to this over there. But if I take too long, or things get too frustrating with failing jobs, feel free to open a PR doing the same as this and ping me to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants