Skip to content

ci: bump actions/cache to v5 - #676

Open
Alex Shabalin (alex-sparus) wants to merge 1 commit into
mainfrom
alex/bump-actions-cache
Open

ci: bump actions/cache to v5#676
Alex Shabalin (alex-sparus) wants to merge 1 commit into
mainfrom
alex/bump-actions-cache

Conversation

@alex-sparus

Copy link
Copy Markdown
Contributor

Summary

Problem: v4 targets the Node 20 runtime, which is deprecated on GitHub Actions runners; runs emit a deprecation warning while the runner force-runs the action on Node 24.

Solution: v5 targets Node 24 natively; inputs and cache format are unchanged. Covers all four pins: build.yaml and the setup-devenv composite. Only requirement is runner >= 2.327.1; observed runners are at 2.336.0 (self-hosted macOS) and 2.335.1 (arc).

Test Plan

  • No test plan needed

Docs

  • Docs updated (companion PR in darkmatter/nixmac-web: #___)
  • No docs update needed

@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️

No Linear issue ID found in this PR's title, description, or branch name (expected something like ENG-123). Add one so this work is traceable in Linear, or add #no-linear to the PR description to acknowledge it's intentionally untracked.

Messages
📖

🤖 This PR touches CI / infra — reviewers please pay extra attention:

  • .github/workflows/build.yaml

📋 PR Overview

Lines changed 12 (+6 / -6)
Files 0 added, 3 modified, 0 deleted
Draft / WIP no
Has Test Plan no
Linear issue no
No Test Plan Needed yes
New UI components no
New Storybook stories no
New Rust modules no
New TS source files no
New tests no
package.json touched no
Cargo.toml touched no
Infra / CI touched yes

🔬 Coverage

Report Lines Statements Functions Branches
apps/native/coverage/coverage-summary.json 34.3% 33.8% 29.0% 29.2%

Generated by 🚫 dangerJS against 6aa23b6

@darkmatter

darkmatter Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

🎨 Storybook preview

Open Storybook preview

Updated for 6aa23b6


⚠️ Detected UI changes (5)

These stories' HTML snapshots changed. I've added screenshots + links to the changed stories below. Review them carefully then accept the changes to regenerate baselines and include them in this PR:

Flows/Evolve › Playground

Flows/Evolve › Playground

Flows/Evolve › 1. Begin (idle)

Flows/Evolve › 1. Begin (idle)

Flows/Evolve › 2. Evolving (progress)

Flows/Evolve › 2. Evolving (progress)

Flows/Evolve › Evolving With Error Event

Flows/Evolve › Evolving With Error Event

Flows/Evolve › 3. Review (changes generated)

Flows/Evolve › 3. Review (changes generated)


Accept UI changes

  • Click here to accept these changes

Alternatively, you can run bun run test:update-snapshots locally to re-generate the baselines and then push the changes to this PR.

What does this do?

The screenshots above show UI changes detected by the Storybook
snapshot tests run on this PR. Each image is the rendered output of
a Storybook story from the code in this PR branch; the snapshot
test compared it against the committed baseline in
__snapshots__/ and flagged the difference.

Checking the box tells the darkmatter[bot] to regenerate the
baselines from this PR's current code and commit them directly to
this branch. The new baselines become the source of truth for
future runs — only accept after confirming the visual changes are
intentional.

Comparison baseline: the committed __snapshots__/ files on this
PR branch (carried forward from develop). Accept updates them in
place on this branch.

@darkmatteragent darkmatteragent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review — COMMENT

7688ae312251 · 1 finding

Comment: all four bumped pins verify correct, but the v4→v5 sweep is incomplete — the repo has six cache pins, not the four the PR description claims. One missed pin remains outside .github/.

  • .depot/actions/setup/action.yml still pins restore@v4 (L92) and save@v4 (L225) in a stale pre-refactor monolith copy; bump or delete it.
  • Verified safe: v5 emits cache-primary-key/cache-hit identically (NullStateProvider), archive format is unchanged, and save failures still log as warnings — the if: always() sccache save cannot newly fail jobs.
  • No consumer of the .depot copy was found in-repo or org-wide, so impact is consistency, not a live break.

Findings

Important

minor · ci — actions/cache v4→v5 migration misses the .depot copy: restore@v4 (L92) and save@v4 (L225)
.depot/actions/setup/action.yml:92

Line 92 uses: actions/cache/restore@v4 and line 225 uses: actions/cache/save@v4 in .depot/actions/setup/action.yml. Repo-wide code search shows actions/cache in exactly three files; this PR bumps the other two and its description claims "Covers all four pins: build.yaml and the setup-devenv composite" — the repo actually contains six cache pins. This file is a stale snapshot of the pre-ref

@darkmatteragent

Copy link
Copy Markdown
Reviewer · darkmatter agent VERDICT
COMMENT
Comment: all four bumped pins verify correct, but the v4→v5 sweep is incomplete — the repo has six cache pins, not the four the PR description claims. One missed pin remains outside `.github/`. - `.depot/actions/setup/action.yml` still pins `restore@v4` (L92) and `save@v4` (L225) in a stale pre-refactor monolith copy; bump or delete it. - Verified safe: v5 emits `cache-primary-key`/`cache-hit` identically (NullStateProvider), archive format is unchanged, and save failures still log as warnings — the `if: always()` sccache save cannot newly fail jobs. - No consumer of the `.depot` copy was found in-repo or org-wide, so impact is consistency, not a live break.

Important

minor · ci — actions/cache v4→v5 migration misses the .depot copy: restore@v4 (L92) and save@v4 (L225)
.depot/actions/setup/action.yml:92

Line 92 uses: actions/cache/restore@v4 and line 225 uses: actions/cache/save@v4 in .depot/actions/setup/action.yml. Repo-wide code search shows actions/cache in exactly three files; this PR bumps the other two and its description claims "Covers all four pins: build.yaml and the setup-devenv composite" — the repo actually contains six cache pins. This file is a stale snapshot of the pre-ref

reviewed: 7688ae3 — 2026-08-31T18:25Z verdict: comment findings: 1

Reviewer avatar Reviewer
darkmatter agent
Run details
Metadata Value
Agent darkmatter/agent/reviewer
Session pr:darkmatter/nixmac#676
Kind pr
Runtime platform-runtime
Configured model litellm/glm-5.2-fp8
Target darkmatter/nixmac#676
Revision 7688ae312251609cc065472010280a1be9505f20
Verdict comment
Reviewed at 2026-08-31T18:25Z
Logs Open Braintrust session

Problem: v4 targets the Node 20 runtime, which is deprecated on
GitHub Actions runners; runs emit a deprecation warning while the
runner force-runs the action on Node 24.

Solution: v5 targets Node 24 natively; inputs and cache format are
unchanged. Covers all six pins: build.yaml, the setup-devenv
composite, and the .depot setup copy. Only requirement is runner
>= 2.327.1; observed runners are at 2.336.0 (self-hosted macOS)
and 2.335.1 (arc).
@alex-sparus

Copy link
Copy Markdown
Contributor Author

Fair comment. Fixed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants