Skip to content

fix(lint): realistic lint gate + formatting fixes #59

fix(lint): realistic lint gate + formatting fixes

fix(lint): realistic lint gate + formatting fixes #59

Triggered via pull request June 14, 2026 13:55
Status Failure
Total duration 1m 41s
Artifacts –

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
golangci-lint: cmd/sin-code/internal/sandbox/landlock_linux.go#L116
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
golangci-lint: cmd/sin-code/internal/sandbox/landlock_linux.go#L87
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
golangci-lint: cmd/sin-code/internal/lsp/client.go#L541
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
golangci-lint: cmd/sin-code/internal/lsp/client.go#L453
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
golangci-lint: cmd/sin-code/internal/lsp/client.go#L425
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
golangci-lint: cmd/sin-code/internal/hooks/hooks.go#L169
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
golangci-lint: cmd/sin-code/internal/ghbridge/mcpserver.go#L160
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
golangci-lint: cmd/sin-code/internal/execute.go#L105
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
golangci-lint: cmd/sin-code/internal/dataset/dataset.go#L141
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
golangci-lint: cmd/sin-code/internal/autonomy/queue.go#L110
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
govulncheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
govulncheck
The process '/usr/bin/git' failed with exit code 128
gosec (SARIF upload)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, github/codeql-action/upload-sarif@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
gosec (SARIF upload)
The process '/usr/bin/git' failed with exit code 128
gosec (SARIF upload)
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
golangci-lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v8. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
golangci-lint
The process '/usr/bin/git' failed with exit code 128