Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Fix triage classification for broken tools (#3248)
## Summary - Normalize triage output so bug reports are never classified as `tool-request`. - Treat broken existing integrations or tools as bugs instead of new integration requests. - Preserve existing label, assignee, and auto-close behavior for genuine tool requests. ## Testing - Not run (workflow-only change). - Reviewed the updated triage logic to confirm bug reports fall back to `other` when the classifier emits `tool-request`. - Verified the issue comment and close-path behavior remain unchanged for valid tool requests.
Rahul Tarak committed
Apr 20, 2026 at 21:53 UTC
5a349e6ac1b603b836ada0f84131cf9f49e7ab98
1 file changed
+16
-4
.github/workflows/issue-triage.yml
+16
-4
@@ -117,8 +117,9 @@ jobs:
117
Choose py only when the issue is primarily about the Python SDK.
118
Choose ts only when the issue is primarily about the TypeScript SDK or TS packages other than the CLI.
119
Choose docs only when the issue is primarily about documentation.
120
+ Never choose tool-request for a broken existing integration or tool. Those are bugs, not tool requests, even if the title/body mentions a tool name or toolkit slug.
121
Set is_bug to true when the issue is primarily reporting broken behavior, a defect, an error, a regression, or unexpected behavior.
121
- Set is_bug to false for feature requests, questions, maintenance, cleanup, and tool requests.
122
+ Set is_bug to false for feature requests, questions, maintenance, cleanup, and true new-tool requests.
123
Set should_comment to true only when the issue appears incorrect, non-actionable, or missing the information needed to reproduce or investigate.
124
Set should_comment to false otherwise.
125
@@ -211,6 +212,13 @@ jobs:
212
213
const labels = [];
214
const assignees = [];
215
+ const suppressToolRequestHandling = isBug && category === "tool-request";
216
+
217
+ if (suppressToolRequestHandling) {
218
+ core.info(
219
+ `Suppressing tool-request handling for issue #${issue_number} because it is classified as a bug. Original reason: ${reason}`
220
+ );
221
+ }
222
223
if (isBug) {
224
labels.push("bug");
@@ -230,7 +238,7 @@ jobs:
238
assignees.push("CryogenicPlanet");
239
} else if (category === "feature-request") {
240
labels.push("feature-request");
233
- } else if (category === "tool-request") {
241
+ } else if (category === "tool-request" && !suppressToolRequestHandling) {
242
labels.push("tool-request");
243
}
244
@@ -252,7 +260,11 @@ jobs:
260
});
261
}
262
255
- if (category !== "tool-request" && shouldComment && commentBody.trim().length > 0) {
263
+ if (
264
+ (category !== "tool-request" || suppressToolRequestHandling) &&
265
+ shouldComment &&
266
+ commentBody.trim().length > 0
267
+ ) {
268
await github.rest.issues.createComment({
269
owner,
270
repo,
@@ -261,7 +273,7 @@ jobs:
273
});
274
}
275
264
- if (category === "tool-request" && issueState === "open") {
276
+ if (category === "tool-request" && !suppressToolRequestHandling && issueState === "open") {
277
await github.rest.issues.createComment({
278
owner,
279
repo,