get_failures_by_pattern
Group failed tests by error pattern to identify root causes. Shows count, affected suites, and sample error for each pattern.
Instructions
Group failed tests by error pattern (e.g., "is not a function", "Cannot read properties"). Shows count, affected suites/files, and sample error for each pattern. Best for quickly identifying root causes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_id": "<run_id>",
"job_id": "<job_id>"
},
"name": "get_failures_by_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of top error patterns to return (default: 10) | |
| job_id | Yes | GitHub Actions job ID | |
| run_id | Yes | GitHub Actions workflow run ID |