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(yarn): Properly close the disk cache after resolution #10159

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sschuberth
Copy link
Member

Also open the disk cache lazily at runtime instead of the start of the application.

@sschuberth sschuberth requested a review from a team as a code owner April 11, 2025 11:27
@sschuberth sschuberth enabled auto-merge (rebase) April 11, 2025 11:27
Copy link

codecov bot commented Apr 11, 2025

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 69.52%. Comparing base (db14717) to head (a308e4d).

Files with missing lines Patch % Lines
...package-managers/node/src/main/kotlin/yarn/Yarn.kt 0.00% 6 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #10159      +/-   ##
============================================
- Coverage     69.59%   69.52%   -0.08%     
+ Complexity     1454     1453       -1     
============================================
  Files           270      270              
  Lines          9670     9672       +2     
  Branches       1029     1031       +2     
============================================
- Hits           6730     6724       -6     
- Misses         2488     2494       +6     
- Partials        452      454       +2     
Flag Coverage Δ
funTest-non-docker 33.32% <ø> (ø)
test-ubuntu-24.04 39.07% <0.00%> (-0.07%) ⬇️
test-windows-2022 39.05% <0.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Let before / after resultion callbacks more closely "embrace" resolution.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth force-pushed the yarn-close-diskcache branch from a2e69d8 to 4dfeb72 Compare April 11, 2025 12:07
Also open the disk cache lazily at runtime instead of the start of the
application.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth force-pushed the yarn-close-diskcache branch from 4dfeb72 to a308e4d Compare April 11, 2025 12:53
@sschuberth sschuberth marked this pull request as draft April 11, 2025 13:34
auto-merge was automatically disabled April 11, 2025 13:34

Pull request was converted to draft

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.

1 participant