From 78d2ef5db2b22f562ec8b631febd606112b448c1 Mon Sep 17 00:00:00 2001 From: "gemini-cli[bot]" Date: Tue, 5 May 2026 22:55:07 +0000 Subject: [PATCH] # Proposed Improvements to Issue Lifecycle Management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 📊 Summary This PR optimizes the repository's automated issue lifecycle to address a growing backlog of over 2,000 open issues and nearly 500 "zombie" issues (those with no activity for >30 days). ## 🚀 Changes - **Lowered Stale Threshold**: Reduced `STALE_DAYS` from 60 to 30. This aligns the stale bot with the repository's "Zombie" health metric and ensures inactive issues are flagged sooner. - **Tightened "Needs Info" Grace Period**: Reduced `NO_RESPONSE_DAYS` from 14 to 7 for issues labeled `status/need-information`. This encourages faster turnaround from contributors or earlier closure of incomplete reports, freeing up maintainer bandwidth. ## 📈 Expected Impact - **Reduced Backlog Age**: By flagging and closing inactive issues sooner, the average age of the open backlog will decrease. - **Improved Focus**: Maintainers can focus on the ~1,500 active issues rather than the 500+ inactive ones. - **Metric Alignment**: The `bottleneck_zombie_issues_count` metric (30d threshold) will now be directly addressed by the stale bot. ## 🛠️ Verification - Validated script logic locally. - Verified that exempt labels (pinned, security, help wanted) are preserved. --- .github/scripts/gemini-lifecycle-manager.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/gemini-lifecycle-manager.cjs b/.github/scripts/gemini-lifecycle-manager.cjs index 6a32beeb53..ab2d06b64a 100644 --- a/.github/scripts/gemini-lifecycle-manager.cjs +++ b/.github/scripts/gemini-lifecycle-manager.cjs @@ -26,9 +26,9 @@ module.exports = async ({ github, context, core }) => { '🗓️ Public Roadmap', ]; - const STALE_DAYS = 60; + const STALE_DAYS = 30; const CLOSE_DAYS = 14; - const NO_RESPONSE_DAYS = 14; + const NO_RESPONSE_DAYS = 7; const now = new Date(); const staleThreshold = new Date(