Skip to content

Caching of apt lists now opt-in (apt_cache_full)#60

Merged
wdconinc merged 1 commit intomainfrom
cache-lists-optional
Feb 16, 2026
Merged

Caching of apt lists now opt-in (apt_cache_full)#60
wdconinc merged 1 commit intomainfrom
cache-lists-optional

Conversation

@vvolkl
Copy link
Collaborator

@vvolkl vvolkl commented Feb 16, 2026

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.

@vvolkl vvolkl requested a review from wdconinc February 16, 2026 10:36
@vvolkl
Copy link
Collaborator Author

vvolkl commented Feb 16, 2026

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

@wdconinc wdconinc merged commit 10197e0 into main Feb 16, 2026
19 checks passed
@vvolkl vvolkl deleted the cache-lists-optional branch February 17, 2026 08:14
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