Skip to content

[8.19](backport #51911) handle PreInit error case for runReady.Close #50203

[8.19](backport #51911) handle PreInit error case for runReady.Close

[8.19](backport #51911) handle PreInit error case for runReady.Close #50203

Triggered via pull request July 14, 2026 14:54
Status Failure
Total duration 52m 54s
Artifacts

golangci-lint.yml

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

Annotations

23 errors, 3 warnings, and 1 notice
lint (ubuntu-latest)
issues found
lint (ubuntu-latest): filebeat/beater/stop_test.go#L101
fb.runReady undefined (type *Filebeat has no field or method runReady) (typecheck)
lint (ubuntu-latest): filebeat/beater/stop_test.go#L83
undefined: closeOnce (typecheck)
lint (ubuntu-latest): filebeat/beater/stop_test.go#L56
fb.runReady undefined (type *Filebeat has no field or method runReady) (typecheck)
lint (ubuntu-latest): filebeat/beater/stop_test.go#L42
undefined: closeOnce (typecheck)
lint (ubuntu-latest)
no required module provides package github.com/elastic/beats/v7/libbeat/beatmonitoring; to add it:
lint (ubuntu-latest): filebeat/beater/filebeat.go#L293
fb.runReady undefined (type *Filebeat has no field or method runReady) (typecheck)
lint (windows-latest)
golangci-lint exit with code 7
lint (windows-latest)
no required module provides package github.com/elastic/beats/v7/libbeat/beatmonitoring; to add it:\n\tgo get github.com/elastic/beats/v7/libbeat/beatmonitoring)"
lint (windows-latest)
fb.runReady undefined (type *Filebeat has no field or method runReady)"
lint (windows-latest)
unknown field runReady in struct literal of type Filebeat"
lint (windows-latest)
undefined: closeOnce"
lint (windows-latest)
fb.runReady undefined (type *Filebeat has no field or method runReady)"
lint (windows-latest)
unknown field runReady in struct literal of type Filebeat"
lint (windows-latest)
undefined: closeOnce"
lint (windows-latest)
fb.runReady undefined (type *Filebeat has no field or method runReady)"
lint (macos-latest)
issues found
lint (macos-latest): filebeat/beater/stop_test.go#L101
fb.runReady undefined (type *Filebeat has no field or method runReady) (typecheck)
lint (macos-latest): filebeat/beater/stop_test.go#L83
undefined: closeOnce (typecheck)
lint (macos-latest): filebeat/beater/stop_test.go#L56
fb.runReady undefined (type *Filebeat has no field or method runReady) (typecheck)
lint (macos-latest): filebeat/beater/stop_test.go#L42
undefined: closeOnce (typecheck)
lint (macos-latest)
no required module provides package github.com/elastic/beats/v7/libbeat/beatmonitoring; to add it:
lint (macos-latest): filebeat/beater/filebeat.go#L293
fb.runReady undefined (type *Filebeat has no field or method runReady) (typecheck)
lint (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint (windows-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint (macos-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint (macos-latest)
The macos-latest label will migrate to macOS 26 beginning June 15, 2026. For more information see https://github.com/actions/runner-images/issues/14167