Commit Graph

8 Commits

Author SHA1 Message Date
gemini-cli[bot] 97f01af2e4 perf(ci): optimize CI build efficiency and remove redundant builds
This PR optimizes the CI/CD pipeline by enabling parallel workspace builds in CI and removing redundant `posttest` scripts that triggered unnecessary builds after testing.

### Changes:
- **Enable Parallel CI Builds**: Updated `scripts/build.js` to use the same parallelization logic in CI as it does for local development. This leverages multi-core runners more effectively.
- **Remove Redundant Builds**: Stripped `posttest: npm run build` from the root `package.json`, `packages/cli/package.json`, and `packages/core/package.json`. These packages were triggering full rebuilds after every test shard, even though the CI workflow explicitly runs a build step before testing.

### Impact:
- **Reduced CI Runtime**: Significant reduction in total Actions minutes by eliminating multiple redundant build cycles.
- **Lower Costs**: Expected to decrease GitHub Actions spend (recent metrics showed a +109% spike in spend, partly due to these inefficiencies).
- **Faster Feedback**: PRs will complete validation faster, improving developer productivity.
2026-05-14 16:20:55 +00:00
Sehoon Shon 119dff3b73 perf(build): optimize build scripts for parallel execution and remove redundant checks (#24307) 2026-03-31 17:46:36 +00:00
Pascal Birchler ee4feea006 chore: consistently import node modules with prefix (#3013)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-08-25 20:11:27 +00:00
christine betts e05173d9cc Move vscode extension build into its own command (#4799) 2025-07-24 18:40:50 +00:00
Shreya Keshive e4ed1aabac Include companion VS Code extension VSIX as part of build/release (#4254) 2025-07-16 19:06:39 +00:00
DongJin Jeong a943cee45d Fix typos and formatting issues (#1480) 2025-06-27 10:31:42 +00:00
Billy Biggs e717c51aa1 Avoid import.meta.dirname to be backwards compatible to Node.js 18+ (#1058) 2025-06-15 05:30:00 +00:00
matt korwel 3b943c1582 Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility (#784) 2025-06-09 12:19:42 -07:00