Skip to content

Releases

Mammoth Cache 0.8.4

Choose a tag to compare

@github-actions github-actions released this 01 Dec 07:26
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.8.4

Release identity

Final tag: v0.8.4
Source commit: 1e3a8c4
Promoted candidate: v0.8.4-rc1
Candidate manifest SHA-256: dcf0f36ba667aa1d8e5e6e4db7fdf707041b28fc5620df49db2c139c71e0db4d

Release notes

This patch makes the Gradle action restore more of GRADLE_USER_HOME. It fixes
the cached dependency resource store and adds partitions for compiled
version-catalog accessors and Scala compiler bridges, so Gradle no longer
fetches or compiles them again in every run.

Highlights

  • Cache Gradle's caches/modules-2/resources-* store, such as
    maven-metadata.xml listings for dynamic and snapshot versions, in the
    module-support partition. Its previous caches/resources-*/** include
    matched no directory that Gradle creates, so restored dependency metadata
    pointed to missing files and Gradle fetched them again.
  • Cache compiled version-catalog accessors
    (caches/<version>/dependencies-accessors/) in the new
    dependencies-accessors partition and compiled Scala (Zinc) compiler bridges
    (caches/<version>/zinc-*/) in the new zinc-compiler-bridges partition.
    Both capture complete directories and select one producer per directory.
  • Correct the Gradle cache internals documentation against Gradle's source and
    documentation, and explain why Mammoth caches nothing from the project's
    .gradle/ directory and why no built-in partition includes Gradle-provisioned
    JDKs.

Upgrade notes

  • No action-input or workflow changes are required.
  • The module-support partition starts cold once. Other built-in partitions
    keep restoring existing 0.8.x cache generations.
  • Custom partitions whose includes reach dependencies-accessors/ or zinc-*/
    directories start cold once.

Release assets

  • buildish-mammoth-cache-0.8.4-github-action.zip
  • buildish-mammoth-cache-0.8.4-github-action.zip.asc
  • buildish-mammoth-cache-0.8.4-github-action.zip.sha256
  • buildish-mammoth-cache-0.8.4-github-action.zip.sha512
  • buildish-mammoth-cache-0.8.4-src.tar.gz
  • buildish-mammoth-cache-0.8.4-src.tar.gz.asc
  • buildish-mammoth-cache-0.8.4-src.tar.gz.sha256
  • buildish-mammoth-cache-0.8.4-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.8.4 (rc1)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 07:20
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.8.4 candidate

Candidate identity

Candidate tag: v0.8.4-rc1
Source commit: 1e3a8c4

Release notes

This patch makes the Gradle action restore more of GRADLE_USER_HOME. It fixes
the cached dependency resource store and adds partitions for compiled
version-catalog accessors and Scala compiler bridges, so Gradle no longer
fetches or compiles them again in every run.

Highlights

  • Cache Gradle's caches/modules-2/resources-* store, such as
    maven-metadata.xml listings for dynamic and snapshot versions, in the
    module-support partition. Its previous caches/resources-*/** include
    matched no directory that Gradle creates, so restored dependency metadata
    pointed to missing files and Gradle fetched them again.
  • Cache compiled version-catalog accessors
    (caches/<version>/dependencies-accessors/) in the new
    dependencies-accessors partition and compiled Scala (Zinc) compiler bridges
    (caches/<version>/zinc-*/) in the new zinc-compiler-bridges partition.
    Both capture complete directories and select one producer per directory.
  • Correct the Gradle cache internals documentation against Gradle's source and
    documentation, and explain why Mammoth caches nothing from the project's
    .gradle/ directory and why no built-in partition includes Gradle-provisioned
    JDKs.

Upgrade notes

  • No action-input or workflow changes are required.
  • The module-support partition starts cold once. Other built-in partitions
    keep restoring existing 0.8.x cache generations.
  • Custom partitions whose includes reach dependencies-accessors/ or zinc-*/
    directories start cold once.

Candidate assets

  • buildish-mammoth-cache-0.8.4-github-action.zip
  • buildish-mammoth-cache-0.8.4-github-action.zip.asc
  • buildish-mammoth-cache-0.8.4-github-action.zip.sha256
  • buildish-mammoth-cache-0.8.4-github-action.zip.sha512
  • buildish-mammoth-cache-0.8.4-src.tar.gz
  • buildish-mammoth-cache-0.8.4-src.tar.gz.asc
  • buildish-mammoth-cache-0.8.4-src.tar.gz.sha256
  • buildish-mammoth-cache-0.8.4-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.8.3

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:59
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.8.3

Release identity

Final tag: v0.8.3
Source commit: 798eac4
Promoted candidate: v0.8.3-rc1
Candidate manifest SHA-256: 5fa60074d34bcca831de342034aadb9f151cb754b77778c5a9aa5ec47d02948b

Release notes

This release makes distributed jobs easier to set up and to diagnose. Matrix
cells get distinct producer names by default, aggregators can explain why a
worker is missing, and job summaries show how each job takes part in the cache.
Cache and worker artifact formats are unchanged.

Highlights

  • Name each cell of a matrix job <job ID>-<matrix values> by default, for
    example build-21 and build-25, so distributed matrix workers no longer need
    github-job-name. An explicit github-job-name still takes precedence, and a
    job with one cell keeps its job ID.
  • Add the recommended github-needs aggregator input. With
    ${{ toJSON(needs) }}, the aggregator reports a missing worker as skipped,
    failed, cancelled or succeeded without an artifact, and flags
    dependent-jobs entries that match no job in needs.
  • Show each job's producer name, runner platform, cache family and single-writer
    partition ownership in its job summary. An aggregator also lists the merged
    workers and the listed jobs without an artifact, and warns about worker
    artifacts it did not request.
  • Warn when an aggregator publishes a single-writer partition without a
    configured writer, or when the named writer contributed no snapshot.
  • Name the likely cause when prepare finds files already present in a managed
    partition, such as another caching step or a self-hosted runner that kept the
    home, and link the troubleshooting guide.
  • Group the action inputs into basic and advanced, and show the advanced ones
    with an "Advanced:" prefix.
  • Show this release's action ref, commit SHA and tag, in the workflow snippets
    of the released documentation, and per-release allow-list entries in the
    adoption guide.

Upgrade notes

  • A matrix job with several cells and no github-job-name now uses the derived
    cell names. Such a workflow previously worked only when a single cell ran
    Mammoth. Update its dependent-jobs and metadata writer to that cell's
    name, shown in the job summary.
  • No other action-input or workflow changes are required. Adding
    github-needs: ${{ toJSON(needs) }} to distributed aggregators is
    recommended.
  • Cache and worker artifact formats are unchanged. Existing 0.8.x cache
    generations are reused.

Release assets

  • buildish-mammoth-cache-0.8.3-github-action.zip
  • buildish-mammoth-cache-0.8.3-github-action.zip.asc
  • buildish-mammoth-cache-0.8.3-github-action.zip.sha256
  • buildish-mammoth-cache-0.8.3-github-action.zip.sha512
  • buildish-mammoth-cache-0.8.3-src.tar.gz
  • buildish-mammoth-cache-0.8.3-src.tar.gz.asc
  • buildish-mammoth-cache-0.8.3-src.tar.gz.sha256
  • buildish-mammoth-cache-0.8.3-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.8.3 (rc1)

Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:51
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.8.3 candidate

Candidate identity

Candidate tag: v0.8.3-rc1
Source commit: 798eac4

Release notes

This release makes distributed jobs easier to set up and to diagnose. Matrix
cells get distinct producer names by default, aggregators can explain why a
worker is missing, and job summaries show how each job takes part in the cache.
Cache and worker artifact formats are unchanged.

Highlights

  • Name each cell of a matrix job <job ID>-<matrix values> by default, for
    example build-21 and build-25, so distributed matrix workers no longer need
    github-job-name. An explicit github-job-name still takes precedence, and a
    job with one cell keeps its job ID.
  • Add the recommended github-needs aggregator input. With
    ${{ toJSON(needs) }}, the aggregator reports a missing worker as skipped,
    failed, cancelled or succeeded without an artifact, and flags
    dependent-jobs entries that match no job in needs.
  • Show each job's producer name, runner platform, cache family and single-writer
    partition ownership in its job summary. An aggregator also lists the merged
    workers and the listed jobs without an artifact, and warns about worker
    artifacts it did not request.
  • Warn when an aggregator publishes a single-writer partition without a
    configured writer, or when the named writer contributed no snapshot.
  • Name the likely cause when prepare finds files already present in a managed
    partition, such as another caching step or a self-hosted runner that kept the
    home, and link the troubleshooting guide.
  • Group the action inputs into basic and advanced, and show the advanced ones
    with an "Advanced:" prefix.
  • Show this release's action ref, commit SHA and tag, in the workflow snippets
    of the released documentation, and per-release allow-list entries in the
    adoption guide.

Upgrade notes

  • A matrix job with several cells and no github-job-name now uses the derived
    cell names. Such a workflow previously worked only when a single cell ran
    Mammoth. Update its dependent-jobs and metadata writer to that cell's
    name, shown in the job summary.
  • No other action-input or workflow changes are required. Adding
    github-needs: ${{ toJSON(needs) }} to distributed aggregators is
    recommended.
  • Cache and worker artifact formats are unchanged. Existing 0.8.x cache
    generations are reused.

Candidate assets

  • buildish-mammoth-cache-0.8.3-github-action.zip
  • buildish-mammoth-cache-0.8.3-github-action.zip.asc
  • buildish-mammoth-cache-0.8.3-github-action.zip.sha256
  • buildish-mammoth-cache-0.8.3-github-action.zip.sha512
  • buildish-mammoth-cache-0.8.3-src.tar.gz
  • buildish-mammoth-cache-0.8.3-src.tar.gz.asc
  • buildish-mammoth-cache-0.8.3-src.tar.gz.sha256
  • buildish-mammoth-cache-0.8.3-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.8.2

Choose a tag to compare

@github-actions github-actions released this 30 Nov 09:46
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.8.2

Release identity

Final tag: v0.8.2
Source commit: 354a214
Promoted candidate: v0.8.2-rc1
Candidate manifest SHA-256: 47d824933d558a4acbe3a4bf6c32708af8f5f5230615ee346f11fecd2b201518

Release notes

This patch makes packaging a worker's contribution and reading it in the
aggregator cheaper. Worker artifacts move to a new format with far fewer archive
entries. Base caches are unchanged.

Highlights

  • Write worker artifacts in the new worker-tar-v3 format. Control records
    between two files share one archive member, and directories are no longer
    separate members, so a worker writes and an aggregator reads far fewer TAR
    entries.
  • Package a worker's contribution without checking each directory again after
    the post capture walked it. Each packaged file is still checked on its opened
    handle before and after its body is read.

Upgrade notes

  • No action-input or workflow changes are required. Base cache formats are
    unchanged, and existing 0.8.x cache generations can be reused.
  • Worker and aggregator jobs of one workflow run must use 0.8.2 together. An
    aggregator rejects worker artifacts written by another release.

Release assets

  • buildish-mammoth-cache-0.8.2-github-action.zip
  • buildish-mammoth-cache-0.8.2-github-action.zip.asc
  • buildish-mammoth-cache-0.8.2-github-action.zip.sha256
  • buildish-mammoth-cache-0.8.2-github-action.zip.sha512
  • buildish-mammoth-cache-0.8.2-src.tar.gz
  • buildish-mammoth-cache-0.8.2-src.tar.gz.asc
  • buildish-mammoth-cache-0.8.2-src.tar.gz.sha256
  • buildish-mammoth-cache-0.8.2-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.8.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 20:16
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.8.1

Release identity

Final tag: v0.8.1
Source commit: d3a99d2
Promoted candidate: v0.8.1-rc1
Candidate manifest SHA-256: e86650ea4291f82fc59cb05047e6b4af438e8d7c5535cc7eea25e2e6b3f555d4

Release notes

This patch reduces Mammoth's own work in the main and post steps: it makes fewer
filesystem calls, stages and indexes worker merges with less overhead, and an
aggregator downloads worker artifacts concurrently. Cache formats are unchanged.

Highlights

  • Download worker artifacts concurrently in the aggregator, up to four at a time,
    and merge them in selection order. After the first failed download no further
    download starts.
  • Do less of Mammoth's own filesystem work. The native walk observes each file
    once and lists and stats synchronously. Paths that the invocation created in its
    own staging are no longer re-checked against concurrent changes, following the
    new filesystem trust zones in the threat model. Worker merges stage files with
    synchronous calls, worker acceptance indexes the staging from what it recorded
    instead of walking it again, and disposable trees are retired with synchronous
    calls.
  • Plan an aggregator's worker install from the tree the base install just left
    instead of walking the whole cache root again. Directories restored intact from
    a trusted base are walked only when a worker writes into them.
  • Install a single-writer snapshot entry by entry when its partition root is
    present with the same mode. New, changed and stale entries are placed or deleted,
    and files with the same size, mode and mtime millisecond are kept, so an unchanged
    dependency-metadata tree is no longer backed up and replaced in every job. Worker
    snapshots are adopted from the installed staging by rename instead of being
    copied.
  • Use less CPU and memory for path validation, record encoding, TAR header parsing,
    partition owner lookup and install scratch reads.
  • Add filesystem trust zones and fail-safe interruption to the threat model.

Upgrade notes

  • No action-input or workflow changes are required. Cache formats are unchanged,
    and existing 0.8.0 cache generations can be reused.
  • Like aggregate partitions, a single-writer snapshot file that is rewritten with
    the same size and mode within the same millisecond is now kept as unchanged.
  • A native directory listing is read whole before the directory breadth limit is
    checked, so an oversized local directory briefly holds about 150 bytes per entry
    before it is rejected. Restored archives stay bounded while they are extracted.

Review v0.8.1-rc1 as the first release candidate and use v0.8.1 after final
promotion.

Release assets

  • buildish-mammoth-cache-0.8.1-github-action.zip
  • buildish-mammoth-cache-0.8.1-github-action.zip.asc
  • buildish-mammoth-cache-0.8.1-github-action.zip.sha256
  • buildish-mammoth-cache-0.8.1-github-action.zip.sha512
  • buildish-mammoth-cache-0.8.1-src.tar.gz
  • buildish-mammoth-cache-0.8.1-src.tar.gz.asc
  • buildish-mammoth-cache-0.8.1-src.tar.gz.sha256
  • buildish-mammoth-cache-0.8.1-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.8.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:21
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
    under caches/<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.properties cleanup 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 one cache-partitions entry, 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

Mammoth Cache 0.7.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:31
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.7.0

Release identity

Final tag: v0.7.0
Source commit: e31306c
Promoted candidate: v0.7.0-rc1
Candidate manifest SHA-256: 8b7ec73d57236f89e85046dd37199c05077ed0466f96bc91da64a6ab1a4f5937

Release notes

This release caches the Kotlin DSL accessors that Gradle generates for version
catalogs, and lets pull-request jobs restore from their base branch. It changes
the cache schema, so existing caches start cold once.

Highlights

  • Cache Gradle Kotlin DSL version-catalog accessor workspaces
    (caches/<version>/kotlin-dsl/accessors/<key>-VC/). Gradle generates them for
    Kotlin DSL builds that declare a version catalog. They were previously reported
    as Omitted ... Gradle files outside a supported workspace and regenerated in
    every job. They now travel as complete workspaces, like the -PS plugin-spec
    accessors, with the same conflict handling, usage protection and GC.
  • Exclude Gradle's cleanup bookkeeping under kotlin-dsl/accessors/.internal/ and
    kotlin-dsl/scripts/.internal/. These host-local files were also reported as
    omitted.
  • Read the GitHub event payload. The default branch now comes from the repository
    metadata instead of falling back to main, so repositories with another default
    branch get the default-branch restore fallback without setting
    github-default-branch.
  • Pull-request jobs additionally restore from their base branch, after their own
    <n>/merge lineage and before the default branch. A writable pull-request job
    still publishes only under <n>/merge.

Upgrade notes

  • The internal cache schema moves from 8 to 9. Existing Gradle and Maven caches are
    not reused: the first 0.7.0 run of each job starts cold and publishes a new cache
    generation. There is no migration.
  • Repositories whose default branch is not main and that did not set
    github-default-branch now get the default-branch restore fallback. Workflows
    that set github-default-branch only to work around the main fallback can drop
    it.
  • No action-input changes are required.

Review v0.7.0-rc1 as the first release candidate and use v0.7.0 after final
promotion.

Release assets

  • buildish-mammoth-cache-0.7.0-github-action.zip
  • buildish-mammoth-cache-0.7.0-github-action.zip.asc
  • buildish-mammoth-cache-0.7.0-github-action.zip.sha256
  • buildish-mammoth-cache-0.7.0-github-action.zip.sha512
  • buildish-mammoth-cache-0.7.0-src.tar.gz
  • buildish-mammoth-cache-0.7.0-src.tar.gz.asc
  • buildish-mammoth-cache-0.7.0-src.tar.gz.sha256
  • buildish-mammoth-cache-0.7.0-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.6.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 12:47
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.6.1

Release identity

Final tag: v0.6.1
Source commit: 2d1a689
Promoted candidate: v0.6.1-rc1
Candidate manifest SHA-256: 1760b2b5b45473831c605cccc99935bbd422d8da3e1ae2475ae2f9f36c878487

Release notes

This patch makes producer-name collisions between distributed matrix cells
visible and adds documentation for matrix jobs and restricted action allow-lists.

Highlights

  • Explain producer-name collisions between matrix cells. All cells of a matrix
    job share one job ID, which is also Mammoth's default producer name. When two
    cells uploaded the same worker artifact name, the second upload was rejected
    and that cell's contribution was lost with only a generic
    Raw worker upload unconfirmed warning. When the names differed, the
    aggregator failed with a bare Ambiguous raw worker artifacts error. Both
    messages now say to give each cell its own github-job-name, list those names
    in dependent-jobs, and link to the matrix-jobs section of the 0.6.1 docs.
  • Document distributed matrix jobs, including a complete workflow that is also
    available as examples/gradle-distributed-matrix.yml.
  • Document the allow-list entries needed in repositories and organizations that
    allow only specified actions, with a pointer for Apache Software Foundation
    projects, and the resulting setup failure in the troubleshooting guide.
  • Drop actions/setup-java from aggregator jobs in the docs and examples.
    Mammoth does not run Java, and an aggregator runs no build.

Upgrade notes

  • No action-input or workflow changes are required. Cache formats are unchanged,
    and existing 0.6.0 cache generations can be reused.
  • Distributed matrix workflows that do not set a distinct github-job-name per
    cell were already affected by the collision. After upgrading, they report it
    through the new messages; follow the linked guidance to fix the workflow.
  • Aggregator jobs can drop actions/setup-java unless they also run Gradle or
    Maven.

Review v0.6.1-rc1 as the first release candidate and use v0.6.1 after final
promotion.

Release assets

  • buildish-mammoth-cache-0.6.1-github-action.zip
  • buildish-mammoth-cache-0.6.1-github-action.zip.asc
  • buildish-mammoth-cache-0.6.1-github-action.zip.sha256
  • buildish-mammoth-cache-0.6.1-github-action.zip.sha512
  • buildish-mammoth-cache-0.6.1-src.tar.gz
  • buildish-mammoth-cache-0.6.1-src.tar.gz.asc
  • buildish-mammoth-cache-0.6.1-src.tar.gz.sha256
  • buildish-mammoth-cache-0.6.1-src.tar.gz.sha512
  • materialized.bundle

Mammoth Cache 0.6.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 11:23
Immutable release. Only release title and notes can be modified.

Mammoth Cache 0.6.0

Release identity

Final tag: v0.6.0
Source commit: 6639127
Promoted candidate: v0.6.0-rc1
Candidate manifest SHA-256: c2baadf145a5debd1473d2244e9f829bb16cad07d04b7861ca4d4aca2d1ec4a2

Release notes

This release fixes config-file values that action defaults silently overrode,
makes periodic GC more conservative after failed Gradle builds, and lets a
distributed aggregator proceed when a dependent job uploaded no artifact.

Highlights

  • Config-file values now apply to every input. Previously, an input with a default
    in action.yml ignored its config-file value, because GitHub passes metadata
    defaults to the action as if the workflow had set them. This affected, for
    example, job-mode, cache-key-prefix, cleanup-enabled, cache-gc-mode and
    cache-gc-older-than-days. Defaults now apply after config-file resolution:
    direct inputs win, then config-file values, then defaults. The input
    descriptions state each default.
  • A Gradle worker whose build failed, or started but recorded no result, no longer
    counts towards full sweep coverage. Such a build may have used only part of its
    dependencies, for example after failing to resolve settings plugins, and a sweep
    could evict entries that later builds download again. The worker still publishes
    its changes. The sweep waits for a run in which every listed worker succeeds, or
    for the forced sweep after dependency-gc-force-grace-days.
  • The Gradle build summary lists builds that started but recorded no result. Such
    builds failed before settings evaluation or were interrupted, and previously did
    not appear in the summary at all.
  • Add allow-missing-dependent-jobs, enabled by default. When a job in
    dependent-jobs uploaded no artifact, for example because it was skipped, failed
    before the Mammoth step, or was cancelled before its post step, the aggregator
    warns and merges the available workers. Previously the whole aggregation failed,
    discarding every other worker's changes. A missing job still prevents full sweep
    coverage, and snapshot partitions of a missing writer keep the previous snapshot.

Upgrade notes

  • Cache formats are unchanged, and existing 0.5.x generations can be reused.
    Workers and aggregators of 0.5.x and 0.6.0 can be mixed: a worker that withholds
    sweep evidence writes the ordinary worker identity that 0.5.x aggregators accept.
  • Review your config files. Values that were previously overridden by action
    defaults now take effect. Workflows that repeated such values as direct inputs
    to work around the problem can drop them.
  • Aggregators no longer fail when a listed job uploaded no artifact. Set
    allow-missing-dependent-jobs: false to keep the previous failure, for example
    to detect a misspelled job name or a missing needs entry early.
  • List every worker in dependent-jobs, including conditional ones. A list
    shortened to the workers that ran also shortens the coverage requirement and lets
    a sweep evict entries that only the omitted workers use.
  • A Gradle build that is expected to fail, for example one launched by an Exec
    task, now defers sweeps for its worker. Set
    BUILDISH_MAMMOTH_CACHE_GRADLE_SKIP_BUILD_RESULT_CAPTURE=true in that build's
    environment to exclude it. Builds launched by Test tasks are already excluded.
    With dependency-gc-force-grace-days: off, a worker that fails in every run
    prevents sweeps.
  • Standalone jobs and Maven workers are unchanged: their sweep decisions do not
    depend on build outcomes.

Review v0.6.0-rc1 as the first release candidate and use v0.6.0 after final
promotion.

Release assets

  • buildish-mammoth-cache-0.6.0-github-action.zip
  • buildish-mammoth-cache-0.6.0-github-action.zip.asc
  • buildish-mammoth-cache-0.6.0-github-action.zip.sha256
  • buildish-mammoth-cache-0.6.0-github-action.zip.sha512
  • buildish-mammoth-cache-0.6.0-src.tar.gz
  • buildish-mammoth-cache-0.6.0-src.tar.gz.asc
  • buildish-mammoth-cache-0.6.0-src.tar.gz.sha256
  • buildish-mammoth-cache-0.6.0-src.tar.gz.sha512
  • materialized.bundle