Update actions/cache action to v6#3521
Conversation
Triage: YELLOW -- possible breakage, reviewer requestedThis is a major version bump of a GitHub Actions workflow dependency ( Updates table
Required actions
Update summary
|
| Attribute | Value |
|---|---|
| File changed | .github/workflows/checks.yml |
| Job | pre-commit |
| Runner | ubuntu-latest (GitHub-hosted) |
| Action inputs used | path: ~/.cache/pre-commit, key: pre-commit-${{ runner.os }}-...-${{ hashFiles('.pre-commit-config.yaml') }}, restore-keys: (3 prefix patterns) |
| Action outputs consumed | none (no id: set on the step, cache-hit not referenced) |
Other workflows using actions/cache |
none (code search returned 1 result total) |
| Cluster workloads referencing this action | none |
Cluster fit
- Architectures required by cluster: amd64, arm64 (rpi5 nodes present per repo description)
- Architectures supported by new version: N/A — this is a GitHub Actions JavaScript action, not a container image. It runs on the GitHub Actions runner host, not on cluster nodes. Architecture is irrelevant.
- Kubernetes API versions used in manifest sources: N/A — no Kubernetes manifests are touched by this PR.
- Minimum K8s version stated by dep: N/A
- Peer dependency check: N/A —
actions/cachehas no Kubernetes ecosystem peer dependencies.
Gaps
- The v6.0.0 release notes are sparse ("Update packages, migrate to ESM"). No formal migration guide exists for v5→v6. The
action.ymldiff and upstream PR Update ollama/ollama Docker tag to v0.11.11 #1760 description were used as the primary source of truth for interface stability. Both confirm no user-facing changes. - The
actions/cacherepository does not publish aCHANGELOG.md; release notes and the merged PR were the only available sources. - No check was performed on whether GitHub's cache service backend changed behavior between v5 and v6 (e.g., cache key versioning algorithm). The README states changes are "fully backward compatible" and existing caches will continue to be matched. A first run after the upgrade may result in a cache miss (cold start), causing a slightly slower
pre-commitrun — this is not a failure.
Upstream changelog
I now have all the information needed to produce a comprehensive output. The action.yml interface is identical between v5.0.5 and v6.0.0 — same inputs, outputs, and Node.js runtime — so the breaking change is entirely internal (ESM migration + major toolkit dependency bumps). This is a major version bump but the user-facing workflow YAML interface is unchanged.
actions/cache v5.0.5 → v6.0.0
Summary
- Artifact type: GitHub Action
- Input format: SemVer release tags
- Resolved references: Tag
v5.0.5(commit27d5ce7f107fe9357f9df03efb73ab90386fccae) → Tagv6.0.0(commite9b91fdc3fea7d79165fceb79042ef45c2d51023) - Versions in range: v5.0.5 → v6.0.0 (no intermediate releases; this is a direct major bump with no pre-releases between them)
- Source repo: upstream actions/cache project
- Primary sources used:
- Upstream release announcement for v6.0.0
- Upstream project's RELEASES.md changelog
- Upstream PR Update ollama/ollama Docker tag to v0.11.11 #1760 (ESM migration)
action.ymldiff (v5.0.5 vs v6.0.0): identicalpackage.jsondiff (v5.0.5 vs v6.0.0): confirmed dependency changes
- Versioning scheme: SemVer
- Major version boundary crossed: Yes (v5 → v6)
- Confidence: high — maintainer-authored changelog, full release notes, and the single merged PR fully account for all changes in this release
Breaking Changes
Migration to ESM module system
- What changed: The action's internal JavaScript module system was converted from CommonJS to ESM (
"type": "module"added topackage.json), required to consume the new@actions/cache@^6.0.1and@actions/core@^3.0.1toolkit packages. - Affects: Internal implementation only. The
action.ymlinterface (inputs, outputs,runs.using: 'node24', entry points) is byte-for-byte identical to v5.0.5. Workflow YAML usingactions/cache@v6requires no changes. - Migration: No changes required in consumer workflow YAML. Users referencing the action by the floating
v6major tag will automatically receive this version. Users pinning to a specific SHA must update their pin. - Source: upstream PR Update ollama/ollama Docker tag to v0.11.11 #1760 (ESM migration PR) explicitly marked as a breaking change; upstream project's RELEASES.md changelog
- Confidence: documented
- Introduced in: v6.0.0
Major toolkit dependency version bumps
- What changed: All
@actions/*toolkit dependencies were bumped to new major versions:@actions/cache^5.0.5→^6.0.1,@actions/core^2.0.3→^3.0.1,@actions/exec^2.0.0→^3.0.0,@actions/io^2.0.0→^3.0.2. These are bundled into the action'sdist/at build time and are not separately installed by consumers. - Affects: Internal bundled dependencies only. No impact on workflow YAML interface or observable action behavior is documented.
- Migration: No action required by consumers.
- Source: upstream project's RELEASES.md changelog;
package.jsondiff between tags - Confidence: documented
- Introduced in: v6.0.0
Other Notable Changes
- Jest upgraded to v30 and test infrastructure updated to be ESM-compatible — internal dev/test change only (per upstream RELEASES.md).
Deprecations Introduced
None found.
Gaps and Caveats
- No migration guide exists at standard paths (
UPGRADING.md,MIGRATING.md,docs/upgrading/). The upstream project's RELEASES.md changelog and PR Update ollama/ollama Docker tag to v0.11.11 #1760 are the sole authoritative sources. @actions/corev3 and@actions/cachev6 breaking changes are not documented in the upstream project's release notes. Since these are bundled (not installed by consumers), any behavioral changes they introduce would be opaque — but no observable behavioral regressions are documented or reported.- The PR author self-classified this as a "Breaking change" in the PR checklist, but the
action.ymlinterface diff confirms zero breaking changes to the public workflow YAML API. The major version bump appears driven by the ESM migration and toolkit major bumps rather than any user-facing interface change. - No user-reported breakage found in open issues on the upstream repository at time of research.
Provenance
RESEARCH_FAILED: provenance researcher could not complete.
Reason: Prompt error: CompletionError: ProviderError: {"error":{"message":"{\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid authentication credentials\"},\"request_id\":\"req_011CcLiSyMp49P5bjRgNPVux\"}. Received Model Group=claude-haiku-4-5\nAvailable Model Group Fallbacks=['claude-haiku-4-5-fallback']\nError doing the fallback: {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 206582 tokens > 200000 maximum\"},\"request_id\":\"req_011CcLiTzhCzXWsfSsUb4NqN\"}","type":"None","param":"None","code":"401"}}\n\nThe categorizer must treat this as an unverified signal and downgrade the verdict accordingly (do not assume safety).
This PR contains the following updates:
v5.0.5→v6.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
actions/cache (actions/cache)
v6.0.0Compare Source
What's Changed
Full Changelog: actions/cache@v5...v6.0.0
v6Compare Source
Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.