Skip to content

PBM-1454-Configuration-file-for-all-pbm-agent-s-options #1180

PBM-1454-Configuration-file-for-all-pbm-agent-s-options

PBM-1454-Configuration-file-for-all-pbm-agent-s-options #1180

Triggered via pull request December 9, 2024 09:12
Status Success
Total duration 11m 11s
Artifacts

reviewdog.yml

on: pull_request
runner / go-test
42s
runner / go-test
runner / shellcheck
0s
runner / shellcheck
runner / misspell
0s
runner / misspell
runner / alex
0s
runner / alex
runner / golangci-lint
17s
runner / golangci-lint
runner / gofmt
17s
runner / gofmt
runner / shfmt
14s
runner / shfmt
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
runner / golangci-lint: pbm/prio/priority.go#L67
the methods of "nodeScores" use pointer receiver and non-pointer receiver. (recvcheck)
runner / golangci-lint: pbm/restore/phys/phys.go#L51
the methods of "RestoreTxn" use pointer receiver and non-pointer receiver. (recvcheck)
runner / golangci-lint: pbm/log/history.go#L88
the methods of "Entries" use pointer receiver and non-pointer receiver. (recvcheck)
runner / golangci-lint: pbm/storage/s3/download.go#L232
the methods of "chunksQueue" use pointer receiver and non-pointer receiver. (recvcheck)
runner / golangci-lint: pbm/backup/physical.go#L675
`writeFile` - `l` is unused (unparam)
runner / golangci-lint: pbm/backup/types.go#L145
the methods of "File" use pointer receiver and non-pointer receiver. (recvcheck)
runner / golangci-lint: pbm/backup/physical.go#L557
the methods of "UUID" use pointer receiver and non-pointer receiver. (recvcheck)
runner / golangci-lint: pbm/restore/types.go#L56
the methods of "Conditions" use pointer receiver and non-pointer receiver. (recvcheck)
runner / golangci-lint: cmd/pbm-agent/args.go#L15
SA1019: reflect.StringHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.20: Use unsafe.String or unsafe.StringData instead. (staticcheck)
test_rename_replicaset.test_logical_pitr_ddl_PBM_T273: psmdb-testing/pbm-functional/pytest/test_rename_replicaset.py#L178
AssertionError: assert 'old_index' not in {'_id_': {'key': [('_id', 1)], 'v': 2}, 'new_index': {'key': [('data', 1)], 'v': 2}, 'old_index': {'key': [('key', 1)], 'v': 2}} + where {'_id_': {'key': [('_id', 1)], 'v': 2}, 'new_index': {'key': [('data', 1)], 'v': 2}, 'old_index': {'key': [('key', 1)], 'v': 2}} = index_information() + where index_information = Collection(Database(MongoClient(host=['rs101:27017'], document_class=dict, tz_aware=False, connect=True), 'restored'), 'indexes').index_information
test_rename_replicaset.test_logical_pitr_ddl_PBM_T273: psmdb-testing/pbm-functional/pytest/test_rename_replicaset.py#L178
AssertionError: assert 'old_index' not in {'_id_': {'key': [('_id', 1)], 'v': 2}, 'new_index': {'key': [('data', 1)], 'v': 2}, 'old_index': {'key': [('key', 1)], 'v': 2}} + where {'_id_': {'key': [('_id', 1)], 'v': 2}, 'new_index': {'key': [('data', 1)], 'v': 2}, 'old_index': {'key': [('key', 1)], 'v': 2}} = index_information() + where index_information = Collection(Database(MongoClient(host=['rs101:27017'], document_class=dict, tz_aware=False, connect=True), 'restored'), 'indexes').index_information
test_rename_replicaset.test_logical_pitr_ddl_PBM_T273: psmdb-testing/pbm-functional/pytest/test_rename_replicaset.py#L178
AssertionError: assert 'old_index' not in {'_id_': {'key': [('_id', 1)], 'v': 2}, 'new_index': {'key': [('data', 1)], 'v': 2}, 'old_index': {'key': [('key', 1)], 'v': 2}} + where {'_id_': {'key': [('_id', 1)], 'v': 2}, 'new_index': {'key': [('data', 1)], 'v': 2}, 'old_index': {'key': [('key', 1)], 'v': 2}} = index_information() + where index_information = Collection(Database(MongoClient(host=['rs101:27017'], document_class=dict, tz_aware=False, connect=True), 'restored'), 'indexes').index_information
runner / go-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
runner / gofmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
runner / golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
runner / shfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636