fix(go): avoid false build errors from download logs#992
fix(go): avoid false build errors from download logs#992aeppling merged 3 commits intortk-ai:developfrom
Conversation
44832d8 to
f2fe39d
Compare
f2fe39d to
8848409
Compare
Signed-off-by: em0t <10153971+em0t@users.noreply.github.com>
8848409 to
d44fd3e
Compare
|
Could a maintainer please approve and run workflows so CI can start for review? |
|
The old broad match caught four patterns:
The new is_go_build_error_line() catches:
What this misses: Go compiler errors that surface without a file.go:line:col prefix, e.g.: undefined: missingFunc cannot find package "foo/bar" This is debatable but i think those are important if go compiler use to tell about missing import or not defined function/etc |
Signed-off-by: em0t <10153971+em0t@users.noreply.github.com>
|
Thanks @aeppling, good catch. I pushed an update that keeps the download-line false-positive fix but restores non-file build errors, including |
Signed-off-by: em0t <10153971+em0t@users.noreply.github.com>
|
I pushed a small follow-up on top of this: the test fixture now uses only public package paths, and |
|
thanks for all quality filters contributions |
Summary
rtk go builderror detection so dependency download/progress lines are not treated as compiler failuresfile.go:line:coldiagnostics and explicit toolchain error lineserrors,xerrors, andmultierrorMinimal Case
Raw
Previous RTK
This PR
Testing
Notes
cargo clippy --all-targetsstill reports pre-existing warnings outside this change set