Skip to content

aws-s3 input: Split S3 poller and SQS reader into explicit input objects #19116

aws-s3 input: Split S3 poller and SQS reader into explicit input objects

aws-s3 input: Split S3 poller and SQS reader into explicit input objects #19116

Triggered via pull request May 9, 2024 15:47
Status Failure
Total duration 8m 12s
Artifacts

golangci-lint.yml

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

Annotations

15 errors and 8 warnings
lint (windows): x-pack/filebeat/input/awss3/input.go#L53
SA1019: awsConfig.EndpointResolverWithOptions is deprecated: with the release of endpoint resolution v2 in API clients, EndpointResolver and EndpointResolverWithOptions are deprecated. Providing a value for this field will likely prevent you from using newer endpoint-related service features. See API client options EndpointResolverV2 and BaseEndpoint. (staticcheck)
lint (windows): x-pack/filebeat/input/awss3/input_test.go#L159
func `newV2Context` is unused (unused)
lint (windows): x-pack/filebeat/input/awss3/sqs_s3_event.go#L47
directive `//nolint:errorlint // This is not used directly to detected wrapped errors (errors.Is handles unwrapping).` is unused for linter "errorlint" (nolintlint)
lint (windows): x-pack/filebeat/input/awss3/states_test.go#L65
Error return value of `states.AddState` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/awss3/states_test.go#L72
Error return value of `states.AddState` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/awss3/states_test.go#L81
Error return value of `states.AddState` is not checked (errcheck)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux): x-pack/filebeat/input/awss3/input.go#L53
SA1019: awsConfig.EndpointResolverWithOptions is deprecated: with the release of endpoint resolution v2 in API clients, EndpointResolver and EndpointResolverWithOptions are deprecated. Providing a value for this field will likely prevent you from using newer endpoint-related service features. See API client options EndpointResolverV2 and BaseEndpoint. (staticcheck)
lint (linux): x-pack/filebeat/input/awss3/input_test.go#L159
func `newV2Context` is unused (unused)
lint (linux): x-pack/filebeat/input/awss3/sqs_s3_event.go#L47
directive `//nolint:errorlint // This is not used directly to detected wrapped errors (errors.Is handles unwrapping).` is unused for linter "errorlint" (nolintlint)
lint (linux): x-pack/filebeat/input/awss3/states_test.go#L65
Error return value of `states.AddState` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/awss3/states_test.go#L72
Error return value of `states.AddState` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/awss3/states_test.go#L81
Error return value of `states.AddState` is not checked (errcheck)
lint (linux)
issues found
lint (darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']