Skip to content

monitoring: fix race condition on New* variable functions #804

monitoring: fix race condition on New* variable functions

monitoring: fix race condition on New* variable functions #804

Triggered via pull request August 12, 2025 13:28
Status Failure
Total duration 1m 3s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 3 warnings, and 3 notices
lint (macos-latest)
issues found
lint (macos-latest): monitoring/registry.go#L86
QF1008: could remove embedded field "Var" from selector (staticcheck)
lint (macos-latest): monitoring/metrics.go#L119
G115: integer overflow conversion uint64 -> int64 (gosec)
lint (macos-latest): monitoring/metrics_test.go#L147
File is not properly formatted (goimports)
lint (ubuntu-latest)
issues found
lint (ubuntu-latest): monitoring/registry.go#L86
QF1008: could remove embedded field "Var" from selector (staticcheck)
lint (ubuntu-latest): monitoring/metrics.go#L119
G115: integer overflow conversion uint64 -> int64 (gosec)
lint (ubuntu-latest): monitoring/metrics_test.go#L147
File is not properly formatted (goimports)
lint (ubuntu-latest)
The strategy configuration was canceled because "golangci.macos-latest" failed
lint (windows-latest)
The operation was canceled.
lint (windows-latest)
The strategy configuration was canceled because "golangci.macos-latest" failed
lint (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
lint (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
lint (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677