Issue Triage Guide
This guide is used for batch triaging GitHub issues - analyzing issues and applying appropriate labels.
Workflow
For EACH issue, follow these steps:
Step 1: Get Available Labels (run once per batch)
gh label list --json name,description --limit 300
Step 2: Get Issue Details
For each issue number, run:
gh issue view [ISSUE_NUMBER] --json number,title,body,labels,comments
Step 3: Analyze and Select Labels
Extract information from the issue template and content:
Template Fields Mapping
- 📦 Platform field →
platform:web/desktop/mobile - 💻 Operating System →
os:windows/macos/linux/ios - 🌐 Browser →
device:pc/mobile - 📦 Deployment mode →
deployment:server/client/pglite - Platform (hosting) →
hosting:cloud/self-host/vercel/zeabur/railway
Provider Detection
IMPORTANT: Always check issue title and body for provider mentions!
Official Providers (check for these keywords in title/body):
openai,gpt→provider:openaigemini→provider:geminiclaude,anthropic→provider:claudedeepseek→provider:deepseekgoogle→provider:googleollama→provider:ollamaazure→provider:azurebedrock→provider:bedrockvertex→provider:vertexgroq,grok→provider:groqmistral→provider:mistralmoonshot→provider:moonshotzhipu→provider:zhipuminimax→provider:minimaxdoubao→provider:doubao
Third-party Aggregation Providers:
aihubmix,AIHubMix,AIHUBMIX→provider:aihubmix- Check environment variables like
AIHUBMIX_*in issue body
Multiple Providers: If issue mentions multiple providers, add ALL applicable provider labels.
Label Categories
a) Issue Type (select ONE if applicable)
💄 Design- UI/UX design issues📝 Documentation- Documentation improvements⚡️ Performance- Performance optimization
b) Priority (select ONE if applicable)
priority:high- Critical issues, data loss, security, maintainer mentions "urgent"/"serious"/"critical"priority:medium- Important issues affecting multiple users, significant functionality impactpriority:low- Nice to have, minor issues, edge cases
Priority Guidelines:
- Set
priority:highfor: data loss, authentication failures, deployment blockers, critical bugs - Set
priority:mediumfor: feature bugs affecting multiple users, workflow issues - Set
priority:lowfor: cosmetic issues, feature requests, configuration questions
c) Platform (select ALL applicable)
platform:webplatform:desktopplatform:mobile
d) Device (for platform:web, select ONE)
device:pcdevice:mobile
e) Operating System (select ALL applicable)
os:windowsos:macosos:linuxos:iosos:android
f) Hosting Platform (select ONE)
hosting:cloud- Official LobeHub Cloudhosting:self-host- Self-hosted deploymenthosting:vercel- Vercel deploymenthosting:zeabur- Zeabur deploymenthosting:railway- Railway deployment
g) Deployment Mode (select ONE if mentioned)
deployment:server- Server-side database modedeployment:client- Client-side database modedeployment:pglite- PGLite mode
Additional deployment tags:
docker- If using Docker deploymentelectron- If desktop/Electron specific
h) Model Provider (select ALL applicable)
See "Provider Detection" section above for complete list.
IMPORTANT: Always scan issue title and body for provider keywords!
i) Feature/Component (select ALL applicable)
Core Features:
feature:settings- Settings and configurationfeature:agent- Agent/Assistant functionalityfeature:topic- Topic/Conversation managementfeature:marketplace- Agent marketplace
File & Knowledge:
feature:files- File upload/managementfeature:knowledge-base- Knowledge base and RAGfeature:export- Export functionality
Model Capabilities:
feature:streaming- Streaming responsesfeature:tool- Tool callingfeature:vision- Vision/multimodal capabilitiesfeature:image- AI image generationfeature:dalle- DALL-E specificfeature:tts- Text-to-speech
Technical:
feature:api- Backend APIfeature:auth- Authentication/authorizationfeature:sync- Cloud sync functionalityfeature:search- Search functionalityfeature:mcp- MCP integrationfeature:editor- Lobe Editorfeature:markdown- Markdown renderingfeature:thread- Thread/Subtopic functionality
Collaboration:
feature:group-chat- Group chat functionalityfeature:memory- Memory featurefeature:team-workspace- Team workspace
j) Workflow/Status
Duplicate- Only if duplicate of an OPEN issue (mention issue number)needs-reproduction- Cannot reproduce, needs more informationgood-first-issue- Good for first-time contributors🤔 Need Reproduce- Needs reproduction steps
Step 4: Apply Labels
Add labels (comma-separated, no spaces after commas):
gh issue edit [ISSUE_NUMBER] --add-label "label1,label2,label3"
Remove "unconfirm" label if adding other labels:
gh issue edit [ISSUE_NUMBER] --remove-label "unconfirm"
Important: Combine both commands when possible for efficiency.
Step 5: Log Summary
For each issue, provide reasoning (2-4 sentences):
- Labels applied and why
- Key factors from issue template/comments
- Provider detection reasoning (if applicable)
Important Rules
- Read Carefully: Read issue template fields AND issue body/title for complete context
- Provider Detection: ALWAYS check title and body for provider keywords (including aihubmix, etc.)
- Multiple Categories: Use ALL applicable labels from different categories
- Label Prefixes: Always use proper prefixes (
feature:,provider:,os:,platform:, etc.) - Maintainer Comments: Check maintainer comments for priority/status hints
- No Comments: Only apply labels, DO NOT post comments to issues
- Batch Efficiency: Process issues in parallel when possible
Common Patterns
Provider in Environment Variables
If issue body contains AIHUBMIX_*, add provider:aihubmix
Multiple Provider Issues
If comparing providers (e.g., "works with OpenAI but not Gemini"), add both provider labels
Desktop Issues
Desktop issues often need: platform:desktop, electron, specific os:*, and deployment:client or deployment:server
Knowledge Base Issues
Usually need: feature:knowledge-base, often with feature:files, may need provider:* for embedding models
Tool Calling Issues
Usually need: feature:tool, specific provider:*, may need feature:mcp if MCP-related
Streaming Issues
Usually need: feature:streaming, specific provider:*, check for timeout/performance issues
Example Triage
Issue #8850: "aihubmix 的优惠 app 没有生效"
Analysis:
- Title contains "aihubmix" →
provider:aihubmix - Template shows: Windows, Chrome, Docker, Client mode
- About API discount codes not working
Labels Applied:
gh issue edit 8850 --add-label "provider:aihubmix,platform:web,os:windows,deployment:client,hosting:self-host,docker"
gh issue edit 8850 --remove-label "unconfirm"
Reasoning: AIHubMix provider discount feature not working. Client mode deployment on Windows with Docker. Provider detection from title keyword "aihubmix".