Repository navigation
Fix resource cleanup paths and add GoHawk to CI - #122
Conversation
|
@kojah totally the opposite, I want this in our pre-commit hooks. For this to get merged though, we need to have it pass; currently I'm getting many errors. For this PR add all of the |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
@ernestrc Awesome! I'll work on fixing up the PR so there's less analyzer noise, then, and submit those other ones incrementally like you said. I think the goroutineownership (and perhaps others) can be turned off. |
Close the lifecycle gaps found by GoHawk and run the pinned analyzer in the existing CI workflow. Signed-off-by: James Ko <[email protected]>
c9240b4 to
03b9185
Compare
Signed-off-by: James Ko <[email protected]>
03b9185 to
6207599
Compare
Signed-off-by: James Ko <[email protected]>
Signed-off-by: James Ko <[email protected]>
|
@ernestrc Addressed your feedback! I also fixed an issue with a leaked file in the font loader, since it's one of the tinier changes. Let me know if there's anything else I need to do before merge, otherwise I'll wait and submit the other fixes |
Changes:
Testing:
go test ./auth ./cmd/rune/ide/apiclient ./internal/debug ./internal/ide/gitpkgxvfb-run -a go test ./internal/term/gui/fontgohawk -json -enable-all -disable=exitpolicy,goroutineownership,lockorder,processownership ./...gohawk found these bugs while I was scanning the repo. I wrote it, so I took the liberty of adding it to the existing CI job along with the fixes. You're very welcome to remove that part if you'd rather not add another tool :)