Repository navigation
v0.5.1
Fixes that make impact find tests it was missing, found by breaking code on purpose in cobra and Kubernetes and checking Sprout picked every failing test.
Fixed
--symbolmissed packages that call a method on the changed type. A call likecmd.Name()names no package, so its file and tests were left out: forNewResourcein Kubernetes, 67 test packages instead of 95. They're found now. (#105)- Tests that reach code through pytest fixtures were missed. pytest gives a
conftest.py's fixtures to every test below it without an import, so changing a FastAPI route found no tests.impact,dependentsandcontextnow followconftest.pyto those tests. (#106) impact --commitin a shallow clone said "Nothing changed". CI checkouts are shallow by default, so CI silently got nothing affected. It now says to fetch the parent; a repository's first commit lists its files; an unknown commit is named as you typed it. (#107)- Imports inside template literals counted as real imports. Code a test builds in a backtick string isn't the file's own import: release-drafter's false links went from 6 to 0. (#104)
- The narrowed
go test -runbroke in Windowscmd: it's now double-quoted, which works in every shell. (#104)
Improved
--symbolworks in every language Sprout reads, by name: the files importing the changed one that mention it, and what depends on them. Go keeps its function-by-function trace. (#106)go test -runnarrows packages importing the change too, not only the changed package, when they reach it directly. (#105)--symbolon a widely used type is faster:ObjectMetain Kubernetes takes 4.6 s, down from 7.75 s on main before this release. (#109)- MCP: passing
symbolwithout one file explains thefilesargument, in the agent's terms. (#108)
Install: brew install sprout-devlabs/tap/sprout · scoop bucket add sprout https://github.com/Sprout-DevLabs/scoop-bucket; scoop install sprout · .deb/.rpm/.apk below · go install github.com/Sprout-DevLabs/sprout@v0.5.1 · or curl -fsSL https://sprout-devlabs.github.io/sprout-web/install.sh | sh