Skip to content

v0.12.2

Choose a tag to compare

@geuben-dispatch geuben-dispatch released this 17 Sep 10:08
· 19 commits to main since this release
Immutable release. Only release title and notes can be modified.
1900e95

Fixed

  • A wildcard directory in test_paths matched nothing (#136): a pattern ending in / was
    compared as a literal prefix by Project.is_test_file and joined as a literal path by the cargo
    adapter's _test_files, so crates/*/tests/ — how a workspace declares one pattern instead of
    one per crate — matched no file at all. Every test file in such a project classified as
    implementation, so a RED commit touching only tests was recorded as implementation_during_red,
    reporting the agent for writing production code it had not written; _test_files returned an
    empty list, leaving the unaccounted-files check with nothing to compare. A directory pattern is
    now matched per path segment (crates/*/tests/ covers crates/x/tests/main.rs, not
    crates/x/src/tests/main.rs), and the adapter globs it.