Skip to content

Upgrade gohawk to v0.6.1 and enable all of its checks - #183

Merged
ernestrc merged 1 commit into
unstablebuild:mainfrom
kojah:upgrade-gohawk-v0.6.1
Oct 7, 2026
Merged

ernestrc merged 1 commit into
unstablebuild:mainfrom
kojah:upgrade-gohawk-v0.6.1

Conversation

@kojah

@kojah kojah commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

gohawk v0.6.1 fixes the false positives that kept goroutineownership, lockorder, and processownership disabled. lockorder was incorrectly flagging the freshly allocated mutex in InstallPackageVersion (internal/ide/idepkg/manager.go), and processownership was missing the Wait inside the debug.CapturePanicReport callback (internal/workspace/file_scheme.go). Both are fixed now, and goroutineownership never reported anything on rune. Removing the disable list.

Changes:

  • Upgrade gohawk from v0.5.0 to v0.6.1 in lint.yml and .pre-commit-config.yaml
  • Remove -disable=goroutineownership,lockorder,processownership from both configs

Testing:

  • go run github.com/kojah/[email protected] -json -enable-all <packages> over 221 of rune's 229 packages: no findings
  • The 8 packages needing X11 headers (cmd/rune, internal/ide, internal/ide/syntax/grammarfixture, internal/ide/syntax/treesitter, and internal/term/gui with its drawrect, drawtext, and font subpackages) will be tested by CI

gohawk v0.6.1 fixes the false positives that kept goroutineownership,
lockorder and processownership disabled, so the -disable list is no
longer needed.

Signed-off-by: James Ko <[email protected]>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ernestrc
ernestrc merged commit 71ede85 into unstablebuild:main Oct 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants