This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
v0.0.3: More reliable Go affected-test selection and clearer unrecognised failures
·
327 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
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 --affectedon 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'snew(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 runsgo 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 --affectedno longer picks Go fixture programs undertestdataas test packages. Only real_test.gofiles formgo testpackages now. Changing atestdatafile still runs the whole suite (#283, @jdx).- When
jouet testcan'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-caseFAIL,FAILEDorERRORfollowed by:or a space, or with TAP'snot ok. Words such asFAIL_TO_PASSdon'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 singleNAMEplaceholder wherever a command takes a test, file or step, and suggestslint = "jouet diag check --changed"only when the project has anhk.pkl(#287, @jdx).
Changed
- The install docs now assume a current mise:
mise use -g jouetinstalls the signed packslip release. The older-misegithub:jdx/jouetworkaround and the "needs mise 2026.10.25" notes are removed.jouet task applystill 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