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

Package Cache Concurrency #1715

Merged
merged 34 commits into from
Aug 27, 2024
Merged

Package Cache Concurrency #1715

merged 34 commits into from
Aug 27, 2024

Conversation

dotasek
Copy link
Collaborator

@dotasek dotasek commented Aug 15, 2024

This change reworks concurrency in the FileSystemPackageCacheManager.

Expanding on the test originally outlined in #1641, this adds a centralized series of locks that takes into account the lifecycle of the FileSystemPackageCacheManager and packages (creation, clear, package delete, etc), and provides additional utilities to ensure that all validation engines are using the same locks.

Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 12.53%. Comparing base (326e128) to head (041b6e8).
Report is 54 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1715      +/-   ##
============================================
+ Coverage     12.49%   12.53%   +0.04%     
- Complexity    32244    32348     +104     
============================================
  Files          2203     2204       +1     
  Lines        673803   674085     +282     
  Branches     198653   198715      +62     
============================================
+ Hits          84181    84498     +317     
+ Misses       559653   559533     -120     
- Partials      29969    30054      +85     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@grahamegrieve grahamegrieve left a comment

Choose a reason for hiding this comment

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

ok

@dotasek dotasek marked this pull request as ready for review August 27, 2024 15:29
@dotasek dotasek merged commit 18ff00f into master Aug 27, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants