ci: add AI-powered issue triage for auto-classifying new issues#469
Merged
Conversation
Uses Qwen (qwen3-max) via DashScope to auto-classify new issues into umbrella parent issues. Shadow mode only — posts a suggestion comment, never auto-links. Safety: silently skips when DASHSCOPE_API_KEY is not configured (no error, no comment). Also catches API call failures gracefully to avoid affecting issue creation. Backtest accuracy: 90% (18/20 correct). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When auto_link_threshold in config is set to "high" or "medium", the bot will automatically link the issue as a sub-issue of the predicted umbrella if confidence meets the threshold. Comment text adapts to indicate whether the link was performed or is just a suggestion. Currently set to "never" (shadow mode). Change to "high" after confirming accuracy in production. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change auto_link_threshold from "never" to "high". Bot will now automatically set parent issue when confidence is high. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
DASHSCOPE_API_KEYsecret is not configured — no error, no comment, no impact on issue creationFiles
.github/workflows/issue-triage.yml— workflow triggered onissues: [opened, edited].github/scripts/triage_issue.py— classifier script (Qwen via OpenAI-compatible endpoint).github/issue-triage-config.yml— umbrella scope definitions (scope_in / scope_out)Validation
Activation
After merge, add
DASHSCOPE_API_KEYin repo Settings → Secrets → Actions. Without the secret, the workflow is a no-op.🤖 Generated with Claude Code