Skip to content

chore(deps): bump actions/cache from 4 to 6 - #36

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/actions/cache-6
Open

chore(deps): bump actions/cache from 4 to 6#36
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/actions/cache-6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown

Bumps actions/cache from 4 to 6.

Release notes

Sourced from actions/cache's releases.

v6.0.0

What's Changed

Full Changelog: actions/cache@v5...v6.0.0

v5.1.0

What's Changed

Full Changelog: actions/cache@v5...v5.1.0

v5.0.5

What's Changed

Full Changelog: actions/cache@v5...v5.0.5

v5.0.4

What's Changed

New Contributors

Full Changelog: actions/cache@v5...v5.0.4

v5.0.3

What's Changed

Full Changelog: actions/cache@v5...v5.0.3

v.5.0.2

v5.0.2

What's Changed

... (truncated)

Changelog

Sourced from actions/cache's changelog.

Releases

How to prepare a release

[!NOTE] Relevant for maintainers with write access only.

  1. Switch to a new branch from main.
  2. Run npm test to ensure all tests are passing.
  3. Update the version in https://github.com/actions/cache/blob/main/package.json.
  4. Run npm run build to update the compiled files.
  5. Update this https://github.com/actions/cache/blob/main/RELEASES.md with the new version and changes in the ## Changelog section.
  6. Run licensed cache to update the license report.
  7. Run licensed status and resolve any warnings by updating the https://github.com/actions/cache/blob/main/.licensed.yml file with the exceptions.
  8. Commit your changes and push your branch upstream.
  9. Open a pull request against main and get it reviewed and merged.
  10. Draft a new release https://github.com/actions/cache/releases use the same version number used in package.json
    1. Create a new tag with the version number.
    2. Auto generate release notes and update them to match the changes you made in RELEASES.md.
    3. Toggle the set as the latest release option.
    4. Publish the release.
  11. Navigate to https://github.com/actions/cache/actions/workflows/release-new-action-version.yml
    1. There should be a workflow run queued with the same version number.
    2. Approve the run to publish the new version and update the major tags for this action.

Changelog

6.1.0

6.0.0

  • Updated @actions/cache to ^6.0.1, @actions/core to ^3.0.1, @actions/exec to ^3.0.0, @actions/io to ^3.0.2
  • Migrated to ESM module system
  • Upgraded Jest to v30 and test infrastructure to be ESM compatible

5.0.4

  • Bump minimatch to v3.1.5 (fixes ReDoS via globstar patterns)
  • Bump undici to v6.24.1 (WebSocket decompression bomb protection, header validation fixes)
  • Bump fast-xml-parser to v5.5.6

5.0.3

5.0.2

... (truncated)

Commits
  • 55cc834 Merge pull request #1768 from jasongin/readonly-cache
  • d8cd72f Bump @​actions/cache to v6.1.0 - handle cache write error due to RO token
  • 2c8a9bd Merge pull request #1760 from actions/samirat/esm_migration_and_package_update
  • e9b91fd Prettier fixes
  • e4884b8 Rebuild dist
  • 10baf01 Fixed licenses
  • e39b386 Fix test mock return order
  • b692820 PR feedback
  • 6074912 Rebuild dist bundles as ESM to match type:module
  • 5a912e8 Fix lint and jest issues
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/cache](https://github.com/actions/cache) from 4 to 6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: github-actions. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot requested a review from srpatcha as a code owner August 31, 2026 02:34
@dependabot dependabot Bot added dependencies Dependency updates major Breaking API or behaviour change labels Aug 31, 2026
@dependabot
dependabot Bot requested a review from hshanmug12 as a code owner August 31, 2026 02:34
@dependabot dependabot Bot added dependencies Dependency updates major Breaking API or behaviour change labels Aug 31, 2026

@srpatcha srpatcha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. I verified the target exists and is current rather than assuming
Dependabot picked a real tag:

actions/cache   target v6   latest confirmed on the upstream release list

The diff is a pure version-string change.

But be aware there is no CI behind this

The only check on this PR is a skipped assign job. That is not a quirk of this
PR — this repository's CI has not run since 2026-05-31.

# .github/workflows/ci.yml
on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main]
default branch: master
main:           404 Branch not found

main was renamed or deleted around late May and the workflow was left pointing
at it. Every push to master and every pull request against it falls outside the
trigger. Filed as #38.

That matters here specifically. A major version bump of a GitHub Action is
exactly the change CI exists to validate — new runtimes, removed inputs, changed
defaults — and there is none. Approval rests on the version existing and the diff
being mechanical, not on evidence the workflow still works.

I would rather these merged after #38 than before, so the first thing the
restored CI reports is whether these bumps are good. But they are not
individually risky and I am not going to hold them for it.

@srpatcha srpatcha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — eAI#36 "chore(deps): bump actions/cache from 4 to 6"

head: aaae9eb author: app/dependabot ci: none (no checks ran on this PR)

Verdict: The bump itself is safe — I checked both intervening majors against the step's actual inputs and nothing it uses changed. The problem is that the workflow it edits runs on neither a master push nor this pull request, so the change is unverifiable now and unexercised after merge.

Findings

# Severity File:line Finding Recommended fix
1 Medium .github/workflows/cross-platform-hal.yml:6-7, :12-14 The edited workflow never runs. Its push trigger is branches: [main, develop], and this repository's default branch is master (verified: gh api repos/embeddedos-org/eAI --jq .default_branchmaster; .github/STANDARDS.md "Release model" mandates master + release and lists no main). Its pull_request trigger carries paths: platform/**, accel/**, formats/**, common/**, which a PR touching only .github/workflows/ does not match. Both halves miss, which is why gh pr checks 36 reports only the assign job. A cache-action bump whose only effect is inside a workflow that never executes cannot be validated by anything. Already covered by the open eAI#39 ("ci: run the build-and-test workflow on master") — do not duplicate it here. Once #39 lands, rerun this PR so the bump is actually exercised before merge.
2 Low .github/workflows/cross-platform-hal.yml:184-187 Pre-existing, in the step being edited: the cache key is android-${{ matrix.abi }}-${{ hashFiles('CMakeLists.txt', 'platform/**', 'accel/**', 'common/**') }}, and it caches the CMake build tree (path: build-android-${{ matrix.abi }}). The NDK version is not in the key, while the preceding step pins nttld/setup-ndk@v1 with ndk-version: r26d (:178-182). Bump the NDK and the job restores a build tree produced by the previous toolchain, with CMake's cached compiler paths inside it. Not caused by this PR — but if actions/cache is being touched, the key is the thing worth getting right. Add the NDK version to the key: key: android-${{ matrix.abi }}-ndk-r26d-${{ hashFiles(...) }}, ideally reading r26d from a single variable shared with the setup-ndk step.

Architecture conformance

Conforms. §21 places .github / CI templates in the Infrastructure tier, and a CI action version is not a runtime dependency, so §5.1's dependency law is not engaged in either direction — nothing in eAI's Tier-3 code, and nothing below it, is affected. .github/STANDARDS.md names OpenSSF Scorecard among the org's security frameworks; Scorecard's Pinned-Dependencies check wants actions pinned by commit SHA rather than by floating major tag, and this repository pins by tag throughout. That is a pre-existing org-wide posture, not something this PR should change unilaterally, but it is the reason a "bump 4 → 6" is a trust decision rather than a version number.

Proposed changes

  1. Land eAI#39 so cross-platform-hal.yml runs on master, then rerun this PR's checks and merge on green.
  2. Optionally fold finding 2 into this PR — it is one line in the step already being modified.

No fix PR opened: finding 1 is already owned by eAI#39, and finding 2 is a judgement call about cache-key composition rather than a provable defect.

Verification I ran

  • Read the upstream release notes for both majors crossed. v5.0.0 (2025-12-11): sole change is "Upgrade to use node24", requiring Actions Runner ≥ 2.327.1. v6.0.0 (2026-06-23): sole change is "Update packages, migrate to ESM". Neither release removes, renames or changes the semantics of an input.
  • The step uses only path and key (:186-187) — no restore-keys, no save-always, no lookup-only, fail-on-cache-miss, enableCrossOsArchive or upload-chunk-size. Nothing in the v5/v6 changelogs touches what this step passes.
  • Runner requirement is satisfied: every runs-on: in this repository is a GitHub-hosted label (ubuntu-22.04, ubuntu-latest, windows-latest, macos-latest, or a matrix of those). No self-hosted runner needs updating first.
  • actions/cache@v4 appears exactly once in the repository (cross-platform-hal.yml:185), so this is the complete change — no second call site was missed.
  • Finding 1: read the full on: block; confirmed the default branch via the API; confirmed with gh pr checks 36 that only assign reported.

Not checked

  • The bump in action. No CI ran on this PR (finding 1) and I did not trigger the workflow by hand, so I have not observed actions/cache@v6 restore or save this cache. Correctness here rests on the upstream changelogs plus the input audit above, not on an execution. That is the whole substance of finding 1.
  • Whether the Android job passes at all. The workflow has not run on master for as long as the trigger has been wrong, so I have no baseline. Whether the cache step is currently helping, hurting, or silently missing on every run is Unknown.
  • ESM-migration side effects. v6's ESM change is described upstream as internal. I did not audit actions/cache's own dependency tree or verify behaviour on the Windows and macOS runners in the matrix.
  • SHA pinning. Not changed by this PR and not evaluated as a proposal; raised above only as context for the Scorecard claim in STANDARDS.md.

Automated architecture review of aaae9eb6cd5f — scheduled, model claude-opus-5, checked against the EmbeddedOS Master Design v2.0. Advisory only: this reviewer never approves, requests changes, or merges. Reply here to discuss or push back — a wrong finding is a bug worth reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates major Breaking API or behaviour change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant