Skip to content

fix: Fixes disk cache by reducing the number of files to be hashed#95

Merged
eed3si9n merged 1 commit into
mainfrom
wip/reduce
May 28, 2026
Merged

fix: Fixes disk cache by reducing the number of files to be hashed#95
eed3si9n merged 1 commit into
mainfrom
wip/reduce

Conversation

@eed3si9n
Copy link
Copy Markdown
Member

@eed3si9n eed3si9n commented May 28, 2026

Fixes #94

Problem

There was a report of The template is not valid, potentially due to too many files being hashed for cache key.

Solution

This attempts to fix that by removing Scala files from the hash, but including Monday's date instead.
The idea is to get caching once a week.

Test

  with:
    path: /home/runner/.cache/sbt
    key: Linux-java17.0.19-sbt-diskcache-1.1.25-2026-05-25-15f98d083ed43771f2271b72cfc4f0cb369bba8c021691cd67c989e42dfc2f15
    restore-keys: Linux-java17.0.19-sbt-diskcache-1.1.25

**Problem**
There was a report of The template is not valid, potentially due
to too many files being hashed for cache key.

**Solution**
This attempts to fix that by removing Scala files from the hash,
but including Monday's date instead.
The idea is to get caching once a week.
@eed3si9n eed3si9n merged commit af116cc into main May 28, 2026
6 checks passed
@eed3si9n eed3si9n deleted the wip/reduce branch May 28, 2026 23:15
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.

"Error: The template is not valid" issue with disk caching

1 participant