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
This collapses every new capability into enhancement, although the repository has distinct feature and enhancement issue types and templates. Untyped feature requests will be assigned the wrong type; add feature to the prompt and validation, and stop treating every ### Value Proposition body as an enhancement.
parse_llm_response accepts any JSON value: ["bug"] crashes at parsed.get, and {"area": ["authentication"]} crashes during set membership. Validate that the response is an object and its requested fields are strings so a malformed Copilot reply skips classification instead of terminating the batch.
Make partial type labeling retryable
.github/scripts/auto_label.py:497
If setting an unlabeled issue's type succeeds but adding status/triage fails, subsequent scheduled runs skip it in both steps: it now has a type but lacks the required triage label. Make this transition retryable, for example by having add_labels report success and setting the type only after the required labels are applied.
Newly classified bugs skip area assignment
.github/scripts/auto_label.py:498
With --issue, an untyped issue without kind/bug can be classified as a bug after step2_issues has already been set to an empty list, so the real run skips the area assignment shown by its dry run. Enqueue newly classified bugs that lack an area for step 2.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Manual runs bypass the sub-issue exclusion, and single-issue dry runs can preview changes that live runs would skip.
0 open findings
Previously missed (2)
In code that hasn't changed since last review
Manual issue runs process sub-issues despite parent exclusion
.github/scripts/auto_label.py:421
The --issue path never checks for a parent, so an untyped sub-issue can receive a bug/enhancement type and triage labels despite the documented exclusion and the no:parent-issue filter in both scheduled searches. Fetch and check the parent relationship before constructing either pass's candidates, and skip sub-issues in manual runs too.
Dry-run queues ineligible type, triage, and area changes
.github/scripts/auto_label.py:446
--issue N --dry-run queues both passes unconditionally, so an already typed enhancement with an existing area can be reported as receiving type, triage, and area changes even though the same live invocation changes nothing. Share eligibility checks between both modes and carry simulated Step 1 type changes into Step 2 so the workflow's default preview reflects the actual run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #53231
Examples of auto-labeled issues: https://github.com/keycloak/keycloak/issues?q=is%3Aissue+label%3Astatus%2Flabeled-by-bot