Repository navigation
perf(ci): Restore grouped dependencies in CI test jobs - #26901
nicohrubec wants to merge 3 commits into
Conversation
Optional E2E testsAll optional checks were successful. 79 successful. See the run. Successful checks
|
size-limit report 📦Compared: da2f227 (PR test merge using develop at 031c188) Against: 3f38bdc (develop) · base run #68087
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6b21452. Configure here.
| - name: Restore workspace dependencies | ||
| uses: ./.github/actions/install-dependencies | ||
| with: | ||
| group: sdk |
There was a problem hiding this comment.
Selected caches trigger a full reinstall
High Severity
Jobs that restore a selected dependency cache never set pnpm_config_verify_deps_before_run. A filtered install does not satisfy the full lockfile, so the next pnpm exec or pnpm run installs the whole workspace. Seed and E2E already disable that check; unit-test and build-local-sdk consumers do not, so the smaller cache is discarded and 10-minute jobs can time out.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 6b21452. Configure here.
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
0210b34 to
c5ba199
Compare
Co-Authored-By: OpenAI Codex <codex@openai.com>


What
Why
Reduce repeated dependency extraction before tests start. Paired samples from the previous and new late-finishing jobs:
Develop baseline → full grouped-cache run. Holding everything except restoration constant, the last job projects from 3:40 to 3:39; most of the benefit is in E2E/browser jobs and PRs running those subsets.
The six cache entries total 2.29 GB compressed. Server caches account for 1.14 GB of that for only ~1s improvement, so they are a candidate to remove. The earlier scoped Next.js comparison also produced identical tarball contents with both cache layouts.