Repository navigation
ci: run fork-PR e2e shards on ubuntu-24.04 - #3590
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
🟢 Tier 1 — TrivialDocs, images, lock files, a dependency bump, or an automated release. No functional code changes detected. Why this tier:
Review process: Auto-merge once CI passes. No human review required. Stats
|
PR Review✅ No issues found. |
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
Deep Review✅ No critical issues found. This is a clean, well-scoped CI change. Reviewers confirmed the GitHub Actions expression semantics are correct: 🔵 P3 nitpicks (2)
Reviewers (5): correctness, reliability, security, project-standards, maintainability. Testing gaps: The 25-minute timeout for 2-worker shards on a 4-vCPU runner is unproven and can only be validated by a live fork-PR run; with No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond |
E2E Test Results✅ All tests passed • 464 passed • 1 skipped • 1299s
Tests ran across 4 shards in parallel. |
Summary
Since
RUNNER_E2Ewas switched tomedium-runner-ubuntu-x64(#3573), E2E shards on fork PRs stay queued forever and never get a runner. Same-repo branches run fine. Examples: #3554 (queued 2h, then cancelled by a new push) and #3582.The runner group most likely doesn't allow fork PRs. That is also the safer default for a custom runner group: fork code shouldn't run on it.
This change sends fork PRs (
github.event.pull_request.head.repo.fork) to the GitHub-hostedubuntu-24.04runner. Because that runner has only 4 vCPUs, the fork path also uses:E2E_WORKERS=2, since test(e2e): determinism cleanup + e2e performance (workers, 8-core, Chromium cache) #2655 found that 4 workers over-subscribe a 4-vCPU runner and time outtimeout-minutes: 25instead of 15, because 2 workers make shards slowerSame-repo PRs,
main, and other events are unchanged.CI-only. No changeset needed.
How to reproduce
On
main: open the checks on a fork PR such as #3554. All foure2e-tests / E2E Tests - Shard Njobs stayQueued.On this branch: once merged, rerun
Mainon a fork PR. The shards should start onubuntu-24.04. This PR comes from a same-repo branch, so it only checks that the non-fork path still usesRUNNER_E2E.