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 race condition in artifact cache #8517

Merged

Conversation

radoering
Copy link
Member

Pull Request Check List

Resolves: #7611

  • Added tests for changed code.
  • Updated documentation for changed code.

Fixes the race condition identified in #7611 (comment)

The first two commits are refactorings to reduce duplicated code and let the artifact cache handle downloads of archives that will be stored in the artifact cache. The third commit is the actual fix, which uses per-artifact locks.

@thesct22
Copy link

Patiently working for this to be available
😁
Do you guys have an estimated update on when (if) this will be patched through as a new release?

@radoering
Copy link
Member Author

It's planned for 1.7 (see #8483). I'll probably start with the preparations for the release after this one has been reviewed and merged.

@radoering radoering force-pushed the artifact-cache-race-condition branch from 1e58964 to 8e89a8d Compare October 28, 2023 16:32
… threads and trying to store it in the same location of the artifact cache
@radoering radoering force-pushed the artifact-cache-race-condition branch from 8e89a8d to bb0a64f Compare October 28, 2023 16:44
@radoering radoering merged commit 092402d into python-poetry:master Oct 29, 2023
20 checks passed
Copy link

github-actions bot commented Mar 3, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants