gemini-cli[bot]
e2096c74b6
# Actions Cost Reduction: CI Matrix and Pulse Optimization
...
This PR implements several measures to reduce the cost of GitHub Actions usage, focusing on the highest-impact areas identified through real per-workflow minutes consumption analysis.
### Summary of Changes
1. **CI Matrix Optimization**: Reduced the `test_mac` matrix in `Testing: CI` to only run on Node.js 20.x.
- **Reason**: macOS runners (especially `macos-latest-large`) are significantly more expensive than Linux runners. Node.js 22.x and 24.x are still covered by the `test_linux` matrix, ensuring core compatibility. OS-specific issues are likely to be caught on the recommended Node.js version (20.x).
- **Impact**: Expected to reduce Mac runner usage by approximately 66% in the CI pipeline.
2. **Pulse Workflow Optimization**:
- Added a check to skip `npm ci` and subsequent steps if no reflex scripts are present in `tools/gemini-cli-bot/reflexes/scripts`.
- Reduced `fetch-depth` from 0 (full clone) to 1 (shallow clone).
- **Reason**: The Pulse workflow runs every 30 minutes. Installing dependencies when there is nothing to run is a waste of resources.
- **Impact**: Eliminates unnecessary dependency installation and reduces clone time for the Pulse workflow.
3. **Brain Workflow Optimization**:
- Reduced `fetch-depth` from 0 to 1.
- **Reason**: The Brain workflow does not require full repository history for its reasoning or metrics collection phases.
- **Impact**: Reduces clone time for the daily Brain workflow runs.
### Data-Driven Justification
Analysis of the last 7 days of metrics (`actions_spend_minutes`) showed:
- **Testing: CI**: 4074 minutes (approx. 64% of total spend).
- **macOS Runners**: The primary driver of CI cost due to high per-minute rates on large runners.
- **Pulse Workflow**: While frequent, it was not in the top list of spenders, but still represents low-hanging fruit for optimization.
These changes prioritize high-impact reductions in expensive runner minutes while maintaining robust cross-platform testing on the primary supported Node.js version.
2026-05-05 15:53:44 +00:00
Christian Gunderman
04e875c5c8
fix(ci): respect exempt labels when closing stale items ( #26475 )
2026-05-04 23:00:14 +00:00
gemini-cli-robot
a79da4f3a9
Robust Scale-Safe Lifecycle Consolidation ( #26355 )
...
Co-authored-by: gemini-cli[bot] <gemini-cli[bot]@users.noreply.github.com>
Co-authored-by: Christian Gunderman <gundermanc@google.com >
2026-05-04 22:07:47 +00:00
Tommaso Sciortino
88bdadc9c6
revert: fix(ci): robust version checking in release verification ( #26337 ) ( #26450 )
2026-05-04 17:03:22 +00:00
Tommaso Sciortino
8fb1b5aa01
fix(ci): robust version checking in release verification ( #26337 )
2026-05-01 17:01:46 +00:00
Christian Gunderman
892c8a720d
fix(ci): checkout PR branch instead of main in bot workflow ( #26289 )
2026-04-30 21:59:06 +00:00
Christian Gunderman
0af13141b2
Fix posting invalid response to a comment ( #26266 )
2026-04-30 18:22:59 +00:00
ruomeng
0f1077076e
Skip binary CLI relaunch ( #26261 )
2026-04-30 17:48:23 +00:00
Christian Gunderman
1834ad0298
fix(bot): productivity and backlog optimizations ( #26236 )
2026-04-29 23:18:22 +00:00
Christian Gunderman
dce13019b9
ci(github-actions): switch to github app token and fix bot self-trigger ( #26223 )
2026-04-29 20:45:16 +00:00
Christian Gunderman
6dec6720de
Add the ability to @ mention the gemini robot. ( #26207 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-29 18:46:33 +00:00
Sam Roberts
c7d5fcff95
Update documentation workflows with workspace trust ( #26150 )
2026-04-29 01:00:57 +00:00
Christian Gunderman
58a57b72ae
Implement bot that performs time-series metric analysis and suggests repo management improvements ( #25945 )
2026-04-28 16:49:53 +00:00
Sandy Tao
42587de733
feat(memory): persist auto-memory scratchpad for skill extraction ( #25873 )
2026-04-24 17:21:12 -07:00
Christian Gunderman
c4b38a5aef
feat(repo): add gemini-cli-bot metrics and workflows ( #25888 )
2026-04-24 17:16:20 +00:00
Emily Hedlund
dba9b9a0ff
feat(cli): secure .env loading and enforce workspace trust in headless mode ( #25814 )
...
Co-authored-by: galz10 <galzahavi@google.com >
Co-authored-by: davidapierce <davidapierce@google.com >
2026-04-23 16:09:14 +00:00
Sandy Tao
fafe3e35d2
fix(evals): add typecheck coverage for evals, integration-tests, and memory-tests ( #25480 )
2026-04-16 18:20:27 +00:00
Tommaso Sciortino
d613dd05db
use macos-latest-large runner where applicable. ( #25413 )
2026-04-14 14:05:25 -07:00
Adam Weidman
a6d43cba2d
ci: add agent session drift check workflow ( #25389 )
2026-04-14 19:31:48 +00:00
Sam Roberts
58901207bd
docs: Update docs-audit to include changes in PR body ( #25153 )
2026-04-10 22:29:04 +00:00
Sam Roberts
f387e456be
Automated documentation audit ( #24567 )
2026-04-09 18:45:24 +00:00
Christian Gunderman
f1bb2af6de
Generalize evals infra to support more types of evals, organization and queuing of named suites ( #24941 )
2026-04-08 23:57:26 +00:00
Sri Pasumarthi
c7b920717f
feat(test-utils): add CPU performance integration test harness ( #24951 )
2026-04-08 21:50:29 +00:00
Sri Pasumarthi
4ebc43bc66
feat(test-utils): add memory usage integration test harness ( #24876 )
2026-04-08 17:42:18 +00:00
Alisa
846051f716
Alisa/approve button ( #24645 )
2026-04-07 16:44:07 +00:00
Alisa
e74efc5c0b
Do not run pr-eval workflow when no steering changes detected ( #24621 )
2026-04-03 22:54:05 +00:00
Emily Hedlund
ca0e6f9bd9
test: fix Windows CI execution and resolve exposed platform failures ( #24476 )
2026-04-03 15:50:29 +00:00
Alisa
973092df50
feat: implement high-signal PR regression check for evaluations ( #23937 )
2026-04-02 05:14:43 +00:00
Sehoon Shon
f938a3f51d
fix(build): upload full bundle directory archive to GitHub releases ( #24403 )
2026-04-01 16:39:44 +00:00
Tommaso Sciortino
91400c5b0b
don't try to remove tags in dry run ( #24356 )
2026-03-31 12:54:53 -07:00
Sehoon Shon
25af91e4df
chore(release): allow bundling for all builds, including stable ( #24305 )
2026-03-31 18:37:14 +00:00
Emily Hedlund
1edc542b55
ci: install bubblewrap on Linux for release workflows ( #24347 )
2026-03-31 18:19:48 +00:00
Alisa
2e03e3aed5
feat(evals): add reliability harvester and 500/503 retry support ( #23626 )
2026-03-26 01:48:45 +00:00
Tommaso Sciortino
b91758bf6b
Don't try removing a tag from a non-existent release. ( #23830 )
2026-03-25 22:27:17 +00:00
Alisa
7b710a2790
new linting check: github-actions-pinning ( #23808 )
2026-03-25 21:43:12 +00:00
Tommaso Sciortino
a6a3689298
don't silence errors from wombat ( #23822 )
2026-03-25 13:38:30 -07:00
Emily Hedlund
109a7dc531
test(core): install bubblewrap on Linux CI for sandbox integration tests ( #23583 )
2026-03-25 14:29:46 +00:00
Alisa
99e5164c82
Evals: PR Guidance adding workflow ( #23164 )
2026-03-23 15:07:40 +00:00
Christian Gunderman
28935d1e6b
Retry evals on API error. ( #23322 )
2026-03-21 02:52:19 +00:00
Sam Roberts
4fc059beb5
Update website issue template for label and title ( #23036 )
2026-03-19 20:51:16 +00:00
Bryan Morgan
17b37144a9
fix(automation): evaluate staleness before checking protected labels ( #22561 )
2026-03-15 15:50:19 -04:00
Bryan Morgan
5ddb517593
fix(automation): harden stale PR closer permissions and maintainer detection ( #22558 )
2026-03-15 14:58:56 -04:00
Sam Roberts
35bf746e62
Add issue for automated changelogs ( #21912 )
2026-03-12 01:43:28 +00:00
Sandy Tao
1a7f50661a
fix: remove status/need-triage from maintainer-only issues ( #22044 )
...
Co-authored-by: Bryan Morgan <bryanmorgan@google.com >
2026-03-11 22:28:20 +00:00
Jerop Kipruto
80cf2fe444
fix(release): Improve Patch Release Workflow Comments: Clearer Approval Guidance ( #21894 )
2026-03-10 17:15:04 +00:00
Sehoon Shon
c25ff94608
build(release): restrict npm bundling to non-stable tags ( #21821 )
2026-03-10 04:17:46 +00:00
Keith Guerin
237864eb63
feat(cli): Invert quota language to 'percent used' ( #20100 )
...
Co-authored-by: jacob314 <jacob314@gmail.com >
2026-03-07 23:17:10 +00:00
Sam Roberts
93d9adc03c
feat(triage): add area/documentation to issue triage ( #21222 )
2026-03-05 18:14:47 +00:00
Aditya Bijalwan
09259a8ec4
test: add browser agent integration tests ( #21151 )
2026-03-05 13:29:35 +00:00
Gen Zhang
a5fd5d0b9f
feat(release): ship esbuild bundle in npm package ( #19171 )
...
Co-authored-by: Yuna Seol <yunaseol@gmail.com >
2026-03-04 22:18:54 +00:00