Skip to content

Mammoth Cache 0.8.3

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:59
· 15 commits to main since this release
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