← Back to Pull requests

Update buildish-tooling/buildish-mammoth-cache action to v0.4.0 #24

Closed
unknown closed this pull request without merging on Nov 25, 2026 08:17 UTC
View on GitHub
unknown unknown commented on Nov 25, 2026 08:12 UTC
Author

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| buildish-tooling/buildish-mammoth-cache | action | minor | v0.3.0 → v0.4.0 |

---

Release Notes

<details>
<summary>buildish-tooling/buildish-mammoth-cache</summary>

v0.4.0: Mammoth Cache 0.4.0

Compare Source

Mammoth Cache 0.4.0

Release identity

Final tag: v0.4.0
Source commit: 424c630
Promoted candidate: v0.4.0-rc1
Candidate manifest SHA-256: 92764e9675131b7ada4660c8ab57b87a9a15695101a652edc6a033f8c4b44d54

Release notes

<!--
Copyright 2026 The Buildish Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

Mammoth Cache 0.4.0

This release reduces restore indexing and adds an opt-in Gradle read-only dependency
layer for qualified distributed workers. It also enforces a fresh managed cache area
at prepare and improves capture and finalization diagnostics. Expect cold caches and
upgrade cooperating jobs together: the generation format and Gradle partition layout
are incompatible with 0.3.x. The Actions continue to run on Node.js 24.

Highlights

  • Restore eligible aggregate Gradle subtrees with guarded intact-directory moves,

  • retaining installation records at move and split boundaries instead of indexing
    every descendant. Read-only jobs and distributed workers can skip descendant
    collection beneath eligible intact roots. Writable standalone jobs and aggregators
    still collect the pre-build metadata summary needed for exact object reuse.
  • Trust exact Mammoth-published native objects and successful SDK extraction for

  • intact subtree interiors. Preserve object/envelope matching, owned staging,
    boundary checks and guarded moves. Strict incoming worker validation remains.
    Maven, independent snapshots, worker overlays and authoritative pruning retain
    detailed handling. SDK downloads and archive extraction are unchanged.
  • Require initially empty managed contents before restore. Existing directories,

  • excluded contents and unmanaged settings can remain. Reject selected files with
    their partition and path before wrapper provisioning or backend access. Gradle
    prepare rejects detected daemons and uncertain process inspection without stopping
    daemons. Read-only restores, cache misses and unavailable backends use the same
    admission contract.
  • Split Gradle's modules preset into dependency-artifacts for

  • caches/modules-2/files-2.1/* and module-support for caches/jars-/* and
    caches/resources-
    /*. Keep caches/modules-2/metadata-/ under the existing
    single-writer dependency-metadata partition.
  • Add dependency-cache-layer, disabled by default. Eligible warm writable distributed

  • workers resolve inherited dependencies from an invocation-owned read-only seed
    outside writable capture. Misses use the writable home and contribute normally.
    Initial activation requires a positively resolved Gradle
    9.6.1* wrapper, a
    compatible artifact/metadata cohort, no selected single-writer ownership and
    restore-cleanup-mode: none.
  • Emit gradle-ro-dep-cache and normally export GRADLE_RO_DEP_CACHE on activation.

  • Set export-layer-environment: false to configure consumers from the output
    yourself. Keep consumers within prepare/post; post settles registered consumers
    before retiring the seed. Uncertain ownership or quiescence preserves diagnostic
    state rather than deleting a potentially live path.
  • Add capture statistics and bounded actual skipped-file examples, plus timings for

  • worker acceptance, staging, native validation/indexing, snapshot copying, activity
    preparation and retirement. Remove the overbroad configuration-cache directory
    exclusion that also matched Gradle distribution documentation and sources;
    the separate encryption key remains excluded.
  • Update tar-stream to 3.3.0 with the reviewed strict-profile patch, and use the

  • TypeScript 7 compiler alongside the TypeScript 6 API required by lint tooling.

    Upgrading from 0.3.0

  • Upgrade all cooperating workers, snapshot writers, aggregators and readers

  • together. Both tools use generation v3; older families start cold. Partition
    objects remain v2 and worker TAR remains v2. Local handoffs change for restore
    and layer handling. Do not mix main/post bundles from different revisions.
  • Migrate explicit modules overrides: the retired preset is rejected. Use

  • dependency-artifacts and/or module-support as appropriate; disable both to
    disable its former artifact/support coverage. Built-in dependency paths now
    target modules-2/files-2.1 and modules-2/metadata-
    . Other layouts require
    explicit custom includes.
  • Run Mammoth before Gradle, Maven or another cache restorer. Use a fresh dedicated

  • home on persistent runners and explicitly provision required unmanaged settings.
    Existing managed files are not imported or automatically deleted. Keep roots
    exclusive throughout prepare, build and post. Gradle inspection is point-in-time
    and can reject daemons belonging to another home; Maven relies on caller exclusivity.
  • Use the same dependency-cache-layer value across cooperating Gradle jobs. It

  • selects a distinct family whose publishers retain eligible aggregate dependency
    partitions, even when no worker seed activates. Retention can grow storage;
    periodic seed sweeps and capacity eviction are deferred. Metadata keeps its
    complete-snapshot writer policy.
  • Other Gradle versions, incomplete cohorts, custom dependency layouts, read-only

  • jobs and other roles use ordinary installation. An existing nonempty
    GRADLE_RO_DEP_CACHE conflicts with eligible layered prepare and fails before
    provisioning/backend access. Maven layering is not included.
  • Directory-entry limits apply to directories actually enumerated. An intact

  • aggregate Gradle restore can accept a subtree that a publishing job later opens
    for its summary and rejects at a deeper directory limit. Working-memory limits
    remain independent.

    Layering leaves wrappers, transforms, DSL and task-output caches on their ordinary
    paths and still downloads/extracts the seed. No universal elapsed-time, repository-size
    or memory improvement is promised. Base change detection remains metadata-based and
    can miss byte rewrites that preserve the observed metadata.

    Review the exact v0.4.0-rc1 candidate tag and use v0.4.0 after final promotion,
    at actions/github/gradle or actions/github/maven. Ordinary source branches omit
    the generated executable bundles; use a materialized release or candidate ref.

    Release assets

  • buildish-mammoth-cache-0.4.0-github-action.zip

  • buildish-mammoth-cache-0.4.0-github-action.zip.asc

  • buildish-mammoth-cache-0.4.0-github-action.zip.sha256

  • buildish-mammoth-cache-0.4.0-github-action.zip.sha512

  • buildish-mammoth-cache-0.4.0-src.tar.gz

  • buildish-mammoth-cache-0.4.0-src.tar.gz.asc

  • buildish-mammoth-cache-0.4.0-src.tar.gz.sha256

  • buildish-mammoth-cache-0.4.0-src.tar.gz.sha512

  • materialized.bundle
  • </details>

    ---

    Configuration

    📅 Schedule: (UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR was generated by Mend Renovate. View the repository job log.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: snazy Review duration: 5m
    All Vouch review confidence checks passed
    Residual risk 0.32 = Change Risk (0.52) × (1 − Review Confidence (0.39)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 31% · Reviewer familiarity: 35%
    38%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #24"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 38.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 38.8% · Lower = rushed or shallow review
    38.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 31.8% · Safe to merge
    31.8%