Skip to content

Conversation

@spholz
Copy link
Member

@spholz spholz commented Dec 7, 2025

Since e5f3615 we included a timestamp in these cache keys. But doing so should be unnecessary, since hashing the respective CMake scripts should be enough as they already include the expected SHA256 hashes of the files to download.

This should cause less duplicate caches, since we now get exact matches of the cache key instead of falling back to the restore key. If no exact cache key match was found, GitHub actions creates a new cache.

Since e5f3615 we included a timestamp in these cache keys.
But doing so should be unnecessary, since hashing the respective CMake
scripts should be enough as they already include the expected SHA256
hashes of the files to download.

This should cause less duplicate caches, since we now get exact matches
of the cache key instead of falling back to the restore key.
If no exact cache key match was found, GitHub actions creates a new
cache.
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Dec 7, 2025
@spholz spholz merged commit 5885e64 into SerenityOS:master Dec 9, 2025
12 checks passed
@spholz spholz deleted the ci-dont-use-timestamps-for-some-caches branch December 9, 2025 23:10
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Dec 9, 2025
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