You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automated PR triage system is incorrectly applying the status/need-issue label to all open PRs, even when they have valid issue references in their descriptions.
Current Behavior
All PRs in the repository currently have the status/need-issue label
Multiple other PRs have issue references but don't use exact closing keywords
Suggested Solutions
Short-term fix:
Update the triage script to also parse PR descriptions for issue number patterns (#\d+)
Long-term fix:
Update PR templates to require "Closes #XXXX" format
Add documentation about proper issue linking syntax
Consider using regex parsing as fallback when closingIssuesReferences is empty
Login information
No response
Anything else we need to know?
Immediate action:
Consider manually removing incorrect status/need-issue labels from PRs that have valid issue references
Impact
Blocks legitimate PRs from proper workflow
Confuses contributors about whether their PRs are properly linked
Makes it difficult to identify PRs that actually need issue links
Potentially delays reviews and merges
Additional Context
This affects the entire contributor workflow and creates friction for both new and experienced contributors who are following reasonable issue-linking practices.
What happened?
Bug Description
The automated PR triage system is incorrectly applying the
status/need-issuelabel to all open PRs, even when they have valid issue references in their descriptions.Current Behavior
status/need-issuelabelWhat did you expect to happen?
Expected Behavior
PRs that reference valid GitHub issues should not have the
status/need-issuelabel applied.Client information
Root Cause
The triage script in
.github/scripts/pr-triage.shonly checks GitHub'sclosingIssuesReferencesAPI field:This API field only populates when PRs use specific GitHub closing keywords:
But it ignores other valid reference formats:
[#6525](https://github.com/google-gemini/gemini-cli/issues/6525)Examples of Incorrectly Labeled PRs
status/need-issuelabelSuggested Solutions
Short-term fix:
Update the triage script to also parse PR descriptions for issue number patterns (
#\d+)Long-term fix:
closingIssuesReferencesis emptyLogin information
No response
Anything else we need to know?
Immediate action:
Consider manually removing incorrect
status/need-issuelabels from PRs that have valid issue referencesImpact
Additional Context
This affects the entire contributor workflow and creates friction for both new and experienced contributors who are following reasonable issue-linking practices.
Labels
kind/bugarea/automationpriority/p1(affects all contributors)