Skip to content

Commit e4a008e

Browse files
Remove SDK-specific labels from classification agent
Classification agent now only applies type labels + ai-triaged. SDK labels (sdk/nodejs, sdk/python, etc.) left to other workflows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6f605f3 commit e4a008e

3 files changed

Lines changed: 6 additions & 19 deletions

File tree

.github/workflows/issue-classification.lock.yml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/issue-classification.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ tools:
3030
safe-outputs:
3131
staged: true
3232
add-labels:
33-
allowed: [bug, enhancement, question, documentation, other, ai-triaged, sdk/dotnet, sdk/go, sdk/nodejs, sdk/python]
34-
max: 6
33+
allowed: [bug, enhancement, question, documentation, other, ai-triaged]
34+
max: 3
3535
target: triggering
3636
timeout-minutes: 10
3737
---
@@ -52,7 +52,6 @@ Your **only** job is to apply labels. You do not post comments, close issues, or
5252
You must apply:
5353
- **Exactly one** classification label (`bug`, `enhancement`, `question`, `documentation`, or `other`)
5454
- **The `ai-triaged` label** (always, alongside the classification label)
55-
- **Zero or more SDK labels** (`sdk/nodejs`, `sdk/python`, `sdk/go`, `sdk/dotnet`) if the issue relates to specific language implementations
5655

5756
{{#import shared/triage-classification.md}}
5857

.github/workflows/shared/triage-classification.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,12 @@ Examples:
4646
- "CI is failing on the main branch"
4747
- "License question about commercial use"
4848

49-
## SDK-Specific Labels
50-
51-
In addition to the classification label, apply **one or more** SDK labels if the issue relates to specific language implementations:
52-
53-
- `sdk/nodejs` — Node.js/TypeScript SDK (`nodejs/` directory)
54-
- `sdk/python` — Python SDK (`python/` directory)
55-
- `sdk/go` — Go SDK (`go/` directory)
56-
- `sdk/dotnet` — .NET SDK (`dotnet/` directory)
57-
58-
If the issue is cross-cutting (affects all SDKs or the shared infrastructure), do not apply any SDK label.
59-
6049
## Classification Guidelines
6150

6251
1. **Read the full issue** — title, body, and any initial comments from the author.
6352
2. **Focus on the author's intent** — what are they trying to communicate? A bug report, a feature request, a question, or a documentation issue?
6453
3. **When in doubt between `bug` and `question`** — if the author is unsure whether something is a bug or they're using the SDK incorrectly, classify as `bug`. It's easier to reclassify later.
6554
4. **When in doubt between `enhancement` and `bug`** — if the author describes behavior they find undesirable but the SDK is working as designed, classify as `enhancement`.
66-
5. **Apply SDK labels generously** — if the issue mentions a specific language or SDK directory, apply the corresponding label even if the root cause might be elsewhere.
6755
6. **Apply exactly one classification label** — never apply two classification labels to the same issue.
6856
7. **Do not assess validity** — your role is to route the issue, not to judge whether it's valid, reproducible, or a duplicate. Downstream agents handle those determinations.
6957

0 commit comments

Comments
 (0)