Commit Graph

2 Commits

Author SHA1 Message Date
gemini-cli-robot 70f523ffb0 fix(bot): refactor open_issues and open_prs to use GraphQL
This change refactors the `open_issues.ts` and `open_prs.ts` metric scripts to use the GitHub GraphQL API instead of the `gh` CLI's list commands with hardcoded limits.

**Why it is recommended:**
The previous implementation used `gh issue list --limit 1000`, which caused the metrics to cap at 1000 items. As the repository now has approximately 2400 open issues, the metrics were reporting inaccurate data, hiding the true scale of the backlog and potentially misleading repository health analysis.

**Expected metric improvement:**
The `open_issues` and `open_prs` metrics will now report accurate total counts, regardless of the 1000-item CLI limit. This will result in an immediate correction of the `open_issues` metric from 1000 to approximately 2400.

**Productivity Impact:**
Accurate metrics enable better data-backed decisions regarding maintainer workload and triage prioritization.
2026-04-28 16:07:32 +00:00
Christian Gunderman c4b38a5aef feat(repo): add gemini-cli-bot metrics and workflows (#25888) 2026-04-24 17:16:20 +00:00