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

ref: Clean up deprecated Cache features #1043

Merged
merged 1 commit into from
Feb 17, 2023
Merged

ref: Clean up deprecated Cache features #1043

merged 1 commit into from
Feb 17, 2023

Conversation

Swatinem
Copy link
Member

Now that caches have been refreshed using the new stable cache keys, we can remove a couple of legacy code:

  • Code that deals with legacy cache markers.
  • Code related to legacy cache paths.
  • Fallback to older cache versions that were still using legacy keys.
  • The should_load machinery.
  • SymCache markers, as they are not needed anymore.

fixes #983, fixes #965

Lets wait with landing this until the lazy cache refresh has progressed a bit more, but it should probably be good to land by tomorrow.

@Swatinem Swatinem requested a review from a team February 16, 2023 14:16
Now that caches have been refreshed using the new stable cache keys, we can remove
a couple of legacy code:
- Code that deals with legacy cache markers.
- Code related to legacy cache paths.
- The `should_load` machinery.
- SymCache markers, as they are not needed anymore.
@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Merging #1043 (b0cf656) into master (7a9a6b5) will decrease coverage by 0.43%.
The diff coverage is 95.34%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1043      +/-   ##
==========================================
- Coverage   75.39%   74.96%   -0.43%     
==========================================
  Files          84       83       -1     
  Lines       12150    11912     -238     
==========================================
- Hits         9160     8930     -230     
+ Misses       2990     2982       -8     

Copy link
Contributor

@loewenheim loewenheim left a comment

Choose a reason for hiding this comment

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

That's some serious cleanup :)

@Swatinem Swatinem merged commit 9c2135e into master Feb 17, 2023
@Swatinem Swatinem deleted the ref/immutable branch February 17, 2023 08:29
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.

RFC: Re-design cache keys (filesystem paths) Cache Keys can exceed maximum file name length
2 participants