Skip to content

perf(ci): fix pnpm cache and optimize ripgrep downloads#1333

Closed
lewis617 wants to merge 1 commit into
mainfrom
worktree-slow-wild-mountain
Closed

perf(ci): fix pnpm cache and optimize ripgrep downloads#1333
lewis617 wants to merge 1 commit into
mainfrom
worktree-slow-wild-mountain

Conversation

@lewis617

@lewis617 lewis617 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replace setup-node cache:'pnpm' with explicit actions/cache@v4 using pnpm store path for reliable cache hits
  • Add ripgrep vendor directory cache in ci/pages/vsce-release workflows
  • install_ripgrep.js: only download current platform binary in CI (1 ~2.5MB instead of 6 platforms ~12MB)

Changed files

  • .github/workflows/ci.yml
  • .github/workflows/pages.yml
  • .github/workflows/publish.yml
  • .github/workflows/vsce-release.yml
  • packages/agent-sdk/scripts/install_ripgrep.js

- Replace setup-node cache:'pnpm' with explicit actions/cache@v4
  using pnpm store path for reliable cache hits
- Add ripgrep vendor directory cache in ci/pages/vsce-release workflows
- install_ripgrep.js: only download current platform binary in CI
  (1 ~2.5MB instead of 6 platforms ~12MB)
@lewis617

lewis617 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator Author

Closing — marginal CI speed gains don't justify the added workflow complexity.

@lewis617 lewis617 closed this Jul 2, 2026
@lewis617 lewis617 deleted the worktree-slow-wild-mountain branch July 2, 2026 15:07
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