Analyze PR risk
analyze_pr_riskAnalyze pull requests for quality risk by scoring regression likelihood, coverage gaps, and impacted areas, then recommend tests to run before merging.
Instructions
Analyze a pull request for quality risk. Returns overall risk score (0-100), risk drivers, impacted categories, similar historical bugs, coverage gaps, and recommended tests to run. Use before merging to catch regressions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_title | Yes | Pull request title. | |
| changed_files | No | List of changed file paths (e.g., ['src/checkout.ts', 'src/payment.ts']). | |
| pr_description | No | Pull request body, summary, or description of changes. |