Commit Graph

6 Commits

Author SHA1 Message Date
gemini-cli[bot] e9efec3a5b # PR: Fix Lint, Stale Logic & Policy Conflict
This PR addresses critical technical and logical flaws identified in the previous bot run.

### Changes:
- **Fixed Lint Failures**: Resolved unused variable errors in `tools/gemini-cli-bot/metrics/scripts/backlog_age.ts`.
- **Robust Stale Logic**: Refactored `.github/workflows/gemini-scheduled-stale-issue-closer.yml` to:
    - Implement a proper **2-phase logic** (Nudge then Close).
    - Add **automatic 'stale' label removal** when human activity is detected.
    - Implement **robust human activity detection** checking comments, issue events (e.g. description updates), and creation date.
    - Added a **180-day threshold** for `help wanted` issues to reduce backlog bloat while respecting community-friendly labels.
- **Consolidated Stale Policy**: Disabled issue processing in `.github/workflows/stale.yml` and increased its throughput for PRs to 300 operations per run. Centralizing issue management in the custom scheduled closer eliminates contradictory behaviors and policy fragmentation.

### Expected Impact:
- **Backlog Reduction**: Safely targets a massive issue backlog (2300+) by allowing `help wanted` issues to eventually go stale after 6 months of inactivity.
- **Improved Accuracy**: Prevents incorrect closures by accurately detecting human engagement even without comments.
- **Maintainer Confidence**: Ensures issues are only closed after a mandatory nudge period and that engagement is properly rewarded by resetting the stale state.
2026-05-01 04:09:13 +00:00
Bryan Morgan 05e73c4193 feat(workflow): expand stale-exempt labels to include help wanted and Public Roadmap (#17459) 2026-01-24 16:39:15 -05:00
Richie Foreman 90de8416cc Swap all self-hosted runners to ubuntu-latest per b/451586626 (#11023) 2025-10-13 15:28:32 +00:00
Richie Foreman f098e07c19 cleanup(gha): Use Matrix runner w/ {self, ubuntu} for a low-risk workflow (#8367) 2025-09-16 16:05:44 +00:00
Seth Vargo 806af05b97 chore(ci): Ensure stale and no-response workflows are consistent and not vulnerable to injection attacks (#6097) 2025-08-13 01:34:57 +00:00
Santhosh Kumar 9382334a5e feat(github): add workflow to manage stale issues and PRs (#4871)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-01 19:26:03 +00:00