Skip to content

ci: Run GitHub Actions jobs on Namespace runners - #25547

Open
JPeer264 wants to merge 1 commit into
developfrom
jp/namespace-arm64-runners
Open

JPeer264 wants to merge 1 commit into
developfrom
jp/namespace-arm64-runners

Conversation

@JPeer264

Copy link
Copy Markdown
Member

This moves all GitHub Actions jobs to Namespace runners. It keeps node_modules, the pnpm store and the Playwright browsers on Namespace cache volumes instead of the GitHub cache, so every job runs pnpm install --frozen-lockfile and there is no dependency cache key anymore.

Runner decisions

Jobs use 3 profiles, sized from the CPU and memory peaks in nsc instance report: -small (2 vCPU, 4 GB) for bots and checks, the default (4 vCPU, 8 GB) for E2E and light jobs, -large (8 vCPU, 16 GB) for build, lint and tests. One profile for all jobs is simpler, but slower or more expensive.

Cache decisions

All build.yml jobs share one cache volume through cache-tag=sentry-javascript, for all branches (last write wins). Alternative: let only develop write to it ("Protect caches from updates").

Comment thread .github/workflows/build.yml Outdated
Comment thread .github/actions/install-dependencies/action.yml Outdated
@JPeer264

Copy link
Copy Markdown
Member Author

bugbot run

Move all jobs to the Namespace profiles namespace-profile-sentry-javascript-small,
namespace-profile-sentry-javascript and namespace-profile-sentry-javascript-large,
by the CPU and memory that each job needs. The build.yml jobs share one cache
volume through the cache tag sentry-javascript. Pull request jobs use
sentry-javascript-pr, so a pull request cannot change the node_modules that
develop and release builds install from.

Keep node_modules, the pnpm store, the Playwright browsers and their apt
packages on Namespace cache volumes instead of the GitHub cache. Every job
runs pnpm install, which is a no-op when the volume matches pnpm-lock.yaml,
so the dependency cache key is no longer needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cursor cursor Bot 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.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit da69d0e. Configure here.

@JPeer264
JPeer264 force-pushed the jp/namespace-arm64-runners branch from da69d0e to 49a4020 Compare October 20, 2026 09:45
@JPeer264
JPeer264 marked this pull request as ready for review October 20, 2026 10:48

This branch has not been deployed

No deployments
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.

1 participant