Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

v0.0.3: More reliable Go affected-test selection and clearer unrecognised failures

Choose a tag to compare

@jdx jdx released this 02 Nov 21:12
· 327 commits to main since this release
Immutable release. Only release title and notes can be modified.
9ade870

v0.0.3 fixes how jouet test --affected picks Go tests and how jouet test reports failures in output it doesn't recognise. It also tightens the .jouet/project.toml guidance in the jouet-init skill. jouet is pre-v1: commands, flags, exit codes and JSON fields may still change incompatibly in any release.

Fixed

  • jouet test --affected on Go projects runs the full suite when the code graph can't parse a Go file. Before, a file the bundled grammar couldn't parse lost its links to changed code. For example, a test using Go 1.26's new(expression) could be skipped, and the affected run passed without it. Now, if any Go file in the project can't be fully parsed or indexed, jouet runs go test ./... and the result names the file that caused it. This applies even when that file is unchanged. Once the graph can parse the file, jouet selects tests as before. The existing fallback for changed files that can't be indexed now reports the full-suite decision the same way. Before, it listed a made-up selected test (#286, @jdx).
  • jouet test --affected no longer picks Go fixture programs under testdata as test packages. Only real _test.go files form go test packages now. Changing a testdata file still runs the whole suite (#283, @jdx).
  • When jouet test can't recognise a failed run's output, it also shows earlier lines marked as failures. Some runners print the failure first and a long summary last, so the last 20 lines alone could leave out what failed. jouet now adds up to ten earlier marked lines under "no failure recognised; lines marked as failures". A line counts if it starts with upper-case FAIL, FAILED or ERROR followed by : or a space, or with TAP's not ok. Words such as FAIL_TO_PASS don't count. Passing runs and recognised formats are unchanged (#281, @jdx).
  • The jouet-init skill now writes only checks that a CI workflow actually runs into before_push. Before, it could add checks that only the docs mention, such as a slow semver check. It also uses a single NAME placeholder wherever a command takes a test, file or step, and suggests lint = "jouet diag check --changed" only when the project has an hk.pkl (#287, @jdx).

Changed

  • The install docs now assume a current mise: mise use -g jouet installs the signed packslip release. The older-mise github:jdx/jouet workaround and the "needs mise 2026.10.25" notes are removed. jouet task apply still exits with code 4 on a mise that's too old and says which version it needs (#284, @jdx).

Full Changelog: v0.0.2...v0.0.3