pg_test_impact
Identifies tests affected by changed files and runs them in batches, falling back to the full test suite when dependency coverage is incomplete.
Instructions
Trace affected tests and run them in batches; fall back to the full recipe when dependency coverage is incomplete.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pg_test_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Workspace slot name (optional if only one slot is open or `--slot` default is set). | |
| runner | No | ||
| sub_id | No | Optional sub-worktree ID for both selection and execution. | |
| dry_run | No | If true, only list affected test files without executing them. | |
| k_filter | No | Optional test filter. | |
| changed_files | No | Optional explicit changed relative paths (defaults to current git dirty files). |