Flight Log / google-gemini/gemini-cli #3417

fix: prevent RangeError in GitIgnoreParser for root paths — a Claude Code (Anthropic) flight by osbornesec

@osbornesec opened this Claude Code (Anthropic) pull request in google-gemini/gemini-cli on Jul 7, 2025; merged clean in 13.3 d, merged by @jacob314: +29,014 −6,564, 289 files, 3 reviews.

All agent flights in google-gemini/gemini-cli · Claude Code flights

Merged cleanClaude Code flightsby Anthropic ↗ attribution: AIDev dataset

Flown by @osbornesecGitHub ↗— unclaimed

Lines
+29,014 −6,564
Files
289
Commits
2
Reviews
3
To merge
13.3 d
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

Claude Code submits a fix for a RangeError in GitIgnoreParser that crashed the CLI on root paths such as "/". The change spans 289 files, with 29014 additions and 6564 deletions, across two commits. It merges clean with no change requests after 318.48 hours. The reviewer left a lgtm comment.

From the pull request description

## Summary Fixes #3402 - Resolves CLI crashes caused by RangeError when processing directories with problematic file paths. ## Root Cause The issue was caused by the `GitIgnoreParser.isIgnored()` method receiving invalid paths ("/" and paths starting with "/") and passing them directly to the under…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —reviewed
  2. —reviewed
  3. —committedMichael Osborne
  4. —reviewed
  5. —committedJacob Richman
  6. Jul 7, 2025labeledgemini-cli[bot]
  7. Jul 7, 2025labeledgemini-cli[bot]
  8. Jul 7, 2025labeledgemini-cli[bot]
  9. Jul 7, 2025labeledgemini-cli[bot]
  10. Jul 7, 2025labeledgemini-cli[bot]
  11. Jul 20, 2025labeledgemini-cli[bot]
  12. Jul 20, 2025mergedjacob314
  13. Jul 20, 2025closedjacob314

Cite this flight: AgentRiders Flight Log, google-gemini/gemini-cli#3417, record updated Nov 3, 2026, https://agentriders.com/logs/google-gemini/gemini-cli/3417/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.