Skip to content

v3.9.3

Choose a tag to compare

@github-actions github-actions released this 12 Oct 22:47
b94d81c

Auto-fix runs a repo's tests on the caller's PATH.

Fixed

  • The repo test command no longer runs the installed CLI ahead of the worktree's (ledger lib/autofix-engine.sh:80). Every auto-fix child puts the plugin's own bin first on PATH so the fixer can call found-issues, and the test command inherited that order. In an auto-fix of found-issues itself, a test or hook script that finds found-issues via PATH (session-start.sh does) ran the installed release instead of the worktree's bin/found-issues, so a fix could look red or green depending on which version was installed. The test command (at base, after a fix, at sweep ship, retarget, readiness and fix ship) now runs on the PATH auto-fix was started with, also when a fixer calls autofix test from inside its own run (launcher B), where the plugin bin was already first; the fixer, verifier and classifier keep the plugin bin first.