get_slow_tests
Identify slow tests in a CI workflow run that exceed a specified duration threshold, displaying their percentage of total test time and average duration to help optimize test performance.
Instructions
Find tests exceeding a duration threshold. Shows slowest tests, their percentage of total test time, and average duration stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of slow tests to return (default: 20) | |
| job_id | Yes | GitHub Actions job ID | |
| run_id | Yes | GitHub Actions workflow run ID | |
| threshold_ms | No | Duration threshold in milliseconds (default: 5000ms = 5s) |