Commit Graph

33 Commits

Author SHA1 Message Date
Taylor Mullen 458e41a79a repro: use simple echo hook and re-enable rich logging 2026-02-13 16:03:39 -08:00
Taylor Mullen 90f3f672ca fix(hooks): final verified fixes for Windows flakiness 2026-02-13 16:03:39 -08:00
Taylor Mullen 6655b0afd4 repro: use simple echo hook and re-enable rich logging 2026-02-13 16:03:11 -08:00
Taylor Mullen efab27e67b repro: final clean verified fixes for Windows flakiness 2026-02-13 16:03:11 -08:00
Taylor Mullen cbba40eb66 repro: re-enable diagnostic logging and focus failing hook tests 2026-02-13 16:03:11 -08:00
Taylor Mullen 88d677207c fix(hooks): final verified fixes for Windows flakiness (clean version) 2026-02-13 16:03:11 -08:00
Taylor Mullen a68d08d5b5 fix(hooks): truly final verified fixes for Windows flakiness 2026-02-13 16:03:10 -08:00
Taylor Mullen 80a0f04cfd fix(hooks): resolve Windows flakiness and improve reliability 2026-02-13 16:03:10 -08:00
Taylor Mullen 9b4e3e7c53 repro: add even more logging to HookRunner and TestRig 2026-02-13 16:03:10 -08:00
Taylor Mullen 0017a72273 repro: rich logging and focused tests 2026-02-13 16:03:10 -08:00
Taylor Mullen 4946a5be73 repro: retry rmdir, add more logging, and focus on failing tests 2026-02-13 16:03:09 -08:00
Taylor Mullen dca9c9ed36 fix(test-rig): only clean test directories on first setup call for a rig instance 2026-02-13 16:03:09 -08:00
Taylor Mullen d89916c195 repro: truly disable other jobs and fix TS error 2026-02-13 16:03:09 -08:00
Taylor Mullen b75b8b9b75 repro: add diagnostic logging for setup, cleanup, and pty spawn 2026-02-13 16:03:09 -08:00
Taylor Mullen f54fe58d06 test: fix windows environment and cleanup issues
- Ensure 'SystemRoot', 'COMSPEC', 'windir', and 'PATHEXT' are passed to node-pty on Windows to prevent 'posix_spawnp' failures.
- Clean up test directories in 'TestRig.setup' to ensure a fresh state for retries and prevent telemetry log accumulation (fixing the 1, 2, 3 failure pattern).
- Fix path normalization in 'Hook Disabling' test to ensure disabled hooks are correctly matched on Windows.

Part of https://github.com/google-gemini/gemini-cli/pull/18665
2026-02-13 16:03:09 -08:00
Taylor Mullen bd7904a9f7 test: robust fixes for windows hook flakiness
- Enforce 'sequential: true' for all hook tests to prevent telemetry leaks and race conditions.
- Normalize all path assertions in hooks-system.test.ts using a new 'normalizePath' helper to handle Windows backslashes consistently.
- Update 'createScript' in test-rig to return normalized paths.
- Ensure 'PATH' is explicitly passed to node-pty spawn options to prevent 'posix_spawnp' errors in some environments.
- Clean up manual path replacements in tests in favor of the centralized helper.

Part of https://github.com/google-gemini/gemini-cli/pull/18665
2026-02-13 16:03:09 -08:00
Taylor Mullen 9631dc8abf test: fix hook integration test flakiness on Windows CI
- Increase default timeout for TestRig.run and TestRig.runCommand to 10 minutes on Windows CI to handle slow environments.
- Replace inline 'node -e' hook commands with script files to avoid brittle quoting and escaping issues on Windows shells.
- Add 'TestRig.createScript' helper to simplify script creation in tests.
- Fix path escaping for hook output files in 'hooks-agent-flow.test.ts' using JSON.stringify.
- Ensure 'TestRig.setup' is called before performing file operations in tests.
2026-02-13 16:03:08 -08:00
N. Taylor Mullen 67d9b76e81 test(core): remove hardcoded model from TestRig (#18710) 2026-02-10 07:54:23 +00:00
Gal Zahavi bce1caefd0 feat(cli): disable folder trust in headless mode (#18407) 2026-02-09 23:46:49 +00:00
Sehoon Shon 61d92c4a21 Remove previewFeatures and default to Gemini 3 (#18414) 2026-02-06 18:02:57 +00:00
Yuna Seol 00a739e84c feat: expand verify-release to macOS and Windows (#18145)
Co-authored-by: Yuna Seol <yunaseol@google.com>
2026-02-05 21:21:55 +00:00
Alisa 5b9ea35b63 Improving memory tool instructions and eval testing (#18091) 2026-02-05 18:07:47 +00:00
Gal Zahavi aba8c5f662 fix(cli): allow restricted .env loading in untrusted sandboxed folders (#17806) 2026-02-04 01:08:10 +00:00
Coco Sheng 3183e4137a fix(test): improve test isolation and enable subagent evaluations (#18138) 2026-02-03 19:05:26 +00:00
Vedant Mahajan 9bb175a506 test: add integration test to verify stdout/stderr routing (#17280)
Co-authored-by: Allen Hutchison <adh@google.com>
2026-01-29 00:01:57 +00:00
Jerop Kipruto c21c297133 feat(plan): refactor TestRig and eval helper to support configurable approval modes (#17171) 2026-01-21 15:43:48 +00:00
Christian Gunderman 203f5209ba Stabilize the git evals (#16989) 2026-01-19 06:18:06 +00:00
Christian Gunderman 8030404b08 Behavioral evals framework. (#16047) 2026-01-14 04:49:17 +00:00
Christian Gunderman 942bcfc61e Disallow redundant typecasts. (#15030) 2025-12-13 01:43:43 +00:00
Gal Zahavi 529c2649b8 Revert "Move mockTool into test-utils (#7245)" (#7277) 2025-08-28 03:05:47 +00:00
Adam Weidman da7901acaf Move mockTool into test-utils (#7245) 2025-08-27 20:18:15 +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
Bryant Chandler 12a9bc3ed9 feat(core, cli): Introduce high-performance FileSearch engine (#5136)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-05 23:18:03 +00:00