Caching of apt lists now opt-in (apt_cache_full)#60
Merged
Conversation
Collaborator
Author
|
I've removed the caches in this repo and re-ran https://github.com/cvmfs-contrib/github-action-cvmfs/actions/runs/22059249550/job/63735177944 Doesn't seem like the install step suffered much of a hit. With the old caching behavior it was around 20s, now 22 |
This was referenced Feb 16, 2026
wdconinc
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since there are not-so-well understood apt install failures from time to time, a workaround is to cache only the .deb files not the lists. If people are aware of the problem and don't mind an occasional failure + manual cache clear, the can opt into caching the lists with the apt_cache_full parameter. To be seen how much this this costs in time of running apt update.
For the long term, I think it'll be best to use either the cvmfs service container or a dedicated statically linked binary for this action and not use apt at all, but that'll take a few months.