Commit Graph

8 Commits

Author SHA1 Message Date
gemini-cli[bot] 19efcf562d # 🤖 Gemini Bot: Optimize CI Build Efficiency
## Summary
This PR optimizes the CI build pipeline by enabling parallel workspace builds in all environments and removing redundant `posttest` hooks that caused unnecessary rebuilds after test execution.

## Changes
- **`scripts/build.js`**: Removed the sequential build bottleneck in CI. The script now always uses parallelized builds (ensuring `@google/gemini-cli-core` is built first), which significantly reduces build time in GitHub Actions.
- **`package.json`**, **`packages/cli/package.json`**, **`packages/core/package.json`**: Removed `"posttest": "npm run build"`. Since the CI workflow explicitly builds the project before running tests, these hooks were triggering redundant full rebuilds in every test shard, wasting significant CI minutes.

## Impact
- **Reduced CI Spend**: Eliminates approximately 15 redundant full rebuilds per push across the various test shards (Linux, Mac, Windows).
- **Faster Feedback**: Decreases total CI wall-clock time by parallelizing the initial build in the `lint` and `test` jobs.

Verified with a local full build and targeted unit tests. No regressions identified.
2026-05-14 21:22:50 +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