mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
06b44ff52f
## Description
This PR optimizes the issue triage process and implements a robust, actor-aware stale issue policy to improve backlog health and maintainer productivity.
### Key Changes:
- **Triage Optimization**: Added `-label:status/bot-triaged` to triage search queries in `.github/workflows/gemini-scheduled-issue-triage.yml`. This prevents the bot from repeatedly attempting to triage complex issues it has already labeled, ensuring it focuses on new untriaged items.
- **Robust Stale Policy**: Refactored `.github/workflows/gemini-scheduled-stale-issue-closer.yml` with a 30-day nudge and 7-day grace period.
- **Fix**: The grace period is now correctly measured from the moment the "Stale" label is applied, using issue timeline events. This ensures authors get the full 7 days to respond.
- **Actor-Awareness**: Issues are only marked stale if the last human activity was from a maintainer or if there are no comments (waiting on author).
- **Automatic Label Removal**: The "Stale" label is automatically removed if any human activity is detected after it was applied.
- **Exemptions**: Added explicit exemptions for `pinned`, `security`, `🔒 maintainer only`, `help wanted`, and `🗓️ Public Roadmap`.
- **Consolidation**: Removed the redundant `.github/workflows/stale.yml` to eliminate conflicting automation.
## Impact
- **Metrics**: Expected to reduce `open_issues` and `bottleneck_zombie_issues_count` by automating the closure of truly stale issues.
- **Productivity**: Reduces maintainer noise by ensuring the triage bot doesn't get stuck on un-triagable issues.