reprocheck
v0.2.0Red-first repro verifier: a fix counts only when the repro fails on the base and passes on the fix.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run_repro_check
Verify a fix the honest way: run the same repro in clean git worktrees of the base ref and the head ref. VERIFIED only when it fails on the base and passes on the head. NOT-REPRODUCED when it passes on the base too, STILL-FAILING when it fails on both, BROKEN-BY-HEAD when the change introduced the failure, ERROR when a run could not complete. Give either a raw command, or a native runner (pytest, go, or auto) with an optional testFile and testName, and reprocheck builds the real pytest or go test command itself. An uncommitted repro or regression test file can be copied into both worktrees wit…
| Parameter | Type | Description |
|---|---|---|
baseRef * | string | Base ref (the code before the fix), e.g. main or a commit SHA |
headRef * | string | Head ref (the code with the fix), e.g. HEAD or a branch |
repoPath * | string | Path to a local git repository |
command | string | The raw repro command to run in both worktrees, e.g. npm test. Omit when runner is given |
runner | string | Native test runner to use instead of a raw command: pytest, go, or auto (detect from the repo) |
setupCommand | string | Optional setup command run in each worktree first, e.g. npm install |
testFile | string | Repo-relative path of an uncommitted repro/test file in the working tree to copy into both worktrees |
testName | string | A single named test for a native runner, e.g. test_add for pytest or TestAdd for go test |
timeoutSeconds | number | Per-command timeout in seconds, default 300 |
detect_test_runners
Detect which native test runners a local repository supports (pytest and/or go test), with the filesystem evidence for each and the test files found. Runs no code from the target repository.
| Parameter | Type | Description |
|---|---|---|
repoPath * | string | Path to a local repository or directory |