Skip to content

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

monitoring: fix race condition on New* variable functions

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

Triggered via pull request August 8, 2025 16:22
Status Failure
Total duration 58s
Artifacts

golangci-lint.yml

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

Annotations

7 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#L111
G115: integer overflow conversion uint64 -> int64 (gosec)
lint (windows-latest)
The operation was canceled.
lint (windows-latest)
The strategy configuration was canceled because "golangci.macos-latest" failed
lint (ubuntu-latest)
The operation was canceled.
lint (ubuntu-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 (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 (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 (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