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

Add backoff for transient Windows failures #2419

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 13, 2024

Summary

This may be required elsewhere, but all the traces in that issue are related to persisting the temporary directory to our persistent cache, so lets start there.

See: #1491.

@charliermarsh charliermarsh added bug Something isn't working windows Specific to the Windows platform labels Mar 13, 2024
@charliermarsh charliermarsh marked this pull request as ready for review March 13, 2024 17:10
@@ -206,7 +206,7 @@ impl Cache {
}

/// Persist a temporary directory to the artifact store.
pub fn persist(
pub async fn persist(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important that this is async now because we don't want to block the thread during the backoff phase.

@charliermarsh charliermarsh merged commit d9b160b into main Mar 13, 2024
28 checks passed
@charliermarsh charliermarsh deleted the charlie/backoff branch March 13, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows Specific to the Windows platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants