chore(ci): Bump actions/cache to v5 and actions/download-artifact to v7 by mydea · Pull Request #20249 · getsentry/sentry-javascript · GitHub
Skip to content

chore(ci): Bump actions/cache to v5 and actions/download-artifact to v7#20249

Merged
mydea merged 2 commits intodevelopfrom
feat/bump-github-actions-v5
Apr 15, 2026
Merged

chore(ci): Bump actions/cache to v5 and actions/download-artifact to v7#20249
mydea merged 2 commits intodevelopfrom
feat/bump-github-actions-v5

Conversation

@mydea
Copy link
Copy Markdown
Member

@mydea mydea commented Apr 13, 2026

Summary

  • Upgrade actions/cache/restore and actions/cache/save from v4 to v5 in install-playwright and restore-cache composite actions
  • Upgrade actions/download-artifact from v4 to v7 in restore-cache composite action (v5 still ran on Node 20; v7 runs on Node 24 and matches actions/upload-artifact@v7 elsewhere)
  • This should fix warnings about Node 20 runner usage in CI

Changelog

actions/cache v4 → v5

  • Only change is upgrading the Node.js runtime from 20 to 24
  • No input/output parameter changes
  • No behavioral differences
  • Requires Actions Runner ≥ 2.327.1 (already satisfied by GitHub-hosted runners)

actions/download-artifact v4 → v7

  • v7 updates the action runtime to Node.js 24 (runs.using: node24); v5 remained on Node 20, so it did not clear deprecation warnings for this step
  • Requires Actions Runner ≥ 2.327.1 (same as cache v5; satisfied by GitHub-hosted runners)
  • We download artifacts by name only; v5’s breaking changes around downloads by ID do not apply
  • Aligns with actions/upload-artifact@v7 already used in workflows

Affected files

  • .github/actions/install-playwright/action.ymlcache/restore@v4v5, cache/save@v4v5
  • .github/actions/restore-cache/action.ymlcache/restore@v4v5, download-artifact@v4v7

Test plan

  • CI workflows pass (cache restore/save and artifact download work as before)
  • No changes to action inputs/outputs for our usage, so downstream step references remain valid

@mydea mydea changed the title ci: Bump actions/cache to v5 and actions/download-artifact to v5 chore(ci): Bump actions/cache to v5 and actions/download-artifact to v5 Apr 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 13, 2026

@mydea mydea self-assigned this Apr 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 13, 2026

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 25.72 kB - -
@sentry/browser - with treeshaking flags 24.21 kB - -
@sentry/browser (incl. Tracing) 42.73 kB - -
@sentry/browser (incl. Tracing, Profiling) 47.35 kB - -
@sentry/browser (incl. Tracing, Replay) 81.54 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 71.11 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 86.25 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 98.45 kB - -
@sentry/browser (incl. Feedback) 42.51 kB - -
@sentry/browser (incl. sendFeedback) 30.39 kB - -
@sentry/browser (incl. FeedbackAsync) 35.38 kB - -
@sentry/browser (incl. Metrics) 27.04 kB - -
@sentry/browser (incl. Logs) 27.18 kB - -
@sentry/browser (incl. Metrics & Logs) 27.86 kB - -
@sentry/react 27.48 kB - -
@sentry/react (incl. Tracing) 45.05 kB - -
@sentry/vue 30.56 kB - -
@sentry/vue (incl. Tracing) 44.59 kB - -
@sentry/svelte 25.74 kB - -
CDN Bundle 28.41 kB - -
CDN Bundle (incl. Tracing) 43.75 kB - -
CDN Bundle (incl. Logs, Metrics) 29.78 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 44.83 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 68.59 kB - -
CDN Bundle (incl. Tracing, Replay) 80.64 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 81.66 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 86.17 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 87.2 kB - -
CDN Bundle - uncompressed 82.99 kB - -
CDN Bundle (incl. Tracing) - uncompressed 129.77 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 87.14 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 133.19 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 210.12 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 246.65 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 250.05 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 259.56 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 262.95 kB - -
@sentry/nextjs (client) 47.47 kB - -
@sentry/sveltekit (client) 43.2 kB - -
@sentry/node-core 57.86 kB +0.02% +6 B 🔺
@sentry/node 174.93 kB +0.01% +11 B 🔺
@sentry/node - without tracing 97.97 kB +0.03% +21 B 🔺
@sentry/aws-serverless 115.22 kB +0.02% +18 B 🔺

View base workflow run

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 13, 2026

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 11,142 - 8,882 +25%
GET With Sentry 2,012 18% 1,782 +13%
GET With Sentry (error only) 7,568 68% 5,873 +29%
POST Baseline 1,127 - 1,203 -6%
POST With Sentry 583 52% 597 -2%
POST With Sentry (error only) 996 88% 1,069 -7%
MYSQL Baseline 3,839 - 3,197 +20%
MYSQL With Sentry 484 13% 479 +1%
MYSQL With Sentry (error only) 3,107 81% 2,657 +17%

View base workflow run

@mydea mydea changed the title chore(ci): Bump actions/cache to v5 and actions/download-artifact to v5 chore(ci): Bump actions/cache to v5 and actions/download-artifact to v7 Apr 13, 2026
mydea and others added 2 commits April 13, 2026 15:32
Upgrade `actions/cache/restore`, `actions/cache/save`, and
`actions/download-artifact` from v4 to v5 in composite actions.

Both v5 releases are non-breaking for our usage:
- actions/cache v5: only upgrades Node.js runtime from 20 to 24,
  no input/output changes.
- actions/download-artifact v5: the only breaking change is about
  downloads by artifact ID (nested directory behavior), which does
  not affect us since we download by name.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
download-artifact@v5 still runs on Node 20; v7 runs on Node 24 and aligns
with actions/upload-artifact@v7 used in workflows.

Co-Authored-By: Auto <noreply@anthropic.com>
Made-with: Cursor
@mydea mydea force-pushed the feat/bump-github-actions-v5 branch from 81f9ebf to 1000cb7 Compare April 13, 2026 13:32
@mydea mydea requested review from logaretm and s1gr1d April 15, 2026 10:55
@mydea mydea merged commit 9b9d65c into develop Apr 15, 2026
130 of 132 checks passed
@mydea mydea deleted the feat/bump-github-actions-v5 branch April 15, 2026 12:45
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