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

[rush] Don't try to upload a cache entry to Azure Storage if it already exists. #2489

Merged
merged 2 commits into from
Mar 17, 2021

Conversation

iclanton
Copy link
Member

We have a CI job that populates our Azure Storage cache. It occasionally fails if two jobs run at the same time and both try to upload the same blob cache entry to Azure.

This change checks if the blob exists right before trying to upload. If the blob exists, we'll consider the upload "successful" because it would have been filled from cache if it had existed when the project's build started.

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

Successfully merging this pull request may close these issues.

4 participants