Repository navigation
Mammoth Cache 0.8.0
·
69 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Mammoth Cache 0.8.0
Release identity
Final tag: v0.8.0
Source commit: 87e837f
Promoted candidate: v0.8.0-rc1
Candidate manifest SHA-256: 7fc246c147178886ad512465b2e37adef8e249d081e30b00fa792102f6f375e9
Release notes
This release caches the Kotlin DSL incremental-compilation state and classpath
snapshots of Gradle 9.9, reports every omitted cache file in the job summary, and
restores and starts cold per partition instead of per cache. It changes the cache
schema, so existing caches start cold once.
Highlights
- Cache the Kotlin DSL incremental-compilation state that Gradle 9.9 and later keep
undercaches/<version>/kotlin-dsl/ic/<key>/as complete workspaces, and the
content-addressed classpath snapshots under
kotlin-dsl/classpath-snapshots/snapshots/as ordinary files. Gradle 9.9 builds
previously reported both as omitted and recomputed them in every job. A job that
changes a build script can now recompile it incrementally, and every job reuses
the classpath ABI hashes that key the compiled scripts. The
classpath-snapshots/gc.propertiescleanup marker is excluded. - Report every omitted cache file instead of a sample of eight. The capture warning
groups omitted files into path patterns with exact counts. The post step adds an
"Omitted cache files" section to the job summary with the largest patterns and a
link to a prefilled issue form, and a collapsed log group lists the individual
files, up to 10,000. - Restore and start cold per partition. Each partition has its own compatibility
key, covering its configuration, the hard excludes and the layout version of each
Gradle or Maven cache area its includes can reach. A job restores the saved
partitions whose key matches its own and starts the others cold. Partitions that
share Maven coordinate directories still restore or start cold together.
Changing onecache-partitionsentry, or a later Mammoth release that supports a
new Kotlin DSL layout, now colds only the affected partitions; dependency caches
keep restoring.
Upgrade notes
- The internal cache schema moves from 9 to 10, and the cache family and
generation record formats change. Existing Gradle and Maven caches are not
reused: the first 0.8.0 run of each job starts cold and publishes a new cache
generation. There is no migration. - Mixing 0.8.0 and older Mammoth versions in one workflow is not supported.
- No action-input changes are required.
Review v0.8.0-rc1 as the first release candidate and use v0.8.0 after final
promotion.
Release assets
- buildish-mammoth-cache-0.8.0-github-action.zip
- buildish-mammoth-cache-0.8.0-github-action.zip.asc
- buildish-mammoth-cache-0.8.0-github-action.zip.sha256
- buildish-mammoth-cache-0.8.0-github-action.zip.sha512
- buildish-mammoth-cache-0.8.0-src.tar.gz
- buildish-mammoth-cache-0.8.0-src.tar.gz.asc
- buildish-mammoth-cache-0.8.0-src.tar.gz.sha256
- buildish-mammoth-cache-0.8.0-src.tar.gz.sha512
- materialized.bundle