Skip to content

fix: disable non-critical staticcheck style rules #188

fix: disable non-critical staticcheck style rules

fix: disable non-critical staticcheck style rules #188

Triggered via push May 16, 2026 04:14
Status Failure
Total duration 2m 9s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
security
Process completed with exit code 1.
lint: engine/response_formatter.go#L383
S1039: unnecessary use of fmt.Sprintf (staticcheck)
lint: engine/quality_gate.go#L87
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
lint: engine/quality_gate.go#L46
ST1020: comment on exported function RunQualityGates should be of the form "RunQualityGates ..." (staticcheck)
lint: engine/prompt_optimizer.go#L93
ST1020: comment on exported function ComputeGradientPrompt should be of the form "ComputeGradientPrompt ..." (staticcheck)
lint: engine/pr_compression.go#L284
ST1020: comment on exported function FormatCompressedPR should be of the form "FormatCompressedPR ..." (staticcheck)
lint: engine/party_mode.go#L80
ST1020: comment on exported function FormatPartyTurn should be of the form "FormatPartyTurn ..." (staticcheck)
lint
no such file or directory")
lint: engine/error_recovery_test.go#L41
SA4006: this value of err is never used (staticcheck)
lint: engine/cost_tracker.go#L63
ST1020: comment on exported function LoadCostHistory should be of the form "LoadCostHistory ..." (staticcheck)
lint: engine/architect.go#L37
ST1021: comment on exported type ArchitectMessage should be of the form "ArchitectMessage ..." (with optional leading article) (staticcheck)
test (race + cover)
Process completed with exit code 1.
fmt + vet
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 2nd, 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/
security
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 2nd, 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/
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@v7. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
test (race + cover)
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 2nd, 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/