Skip to content

ledger: add callback to clear state between commitRound retries #13754

ledger: add callback to clear state between commitRound retries

ledger: add callback to clear state between commitRound retries #13754

Triggered via pull request December 4, 2024 21:38
Status Failure
Total duration 3m 12s
Artifacts

reviewdog.yml

on: pull_request
reviewdog-errors
2m 37s
reviewdog-errors
reviewdog-warnings
3m 3s
reviewdog-warnings
reviewdog-shellcheck
13s
reviewdog-shellcheck
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
reviewdog-errors: ledger/store/trackerdb/testsuite/accounts_ext_kv_test.go#L1
[Lint Errors] reported by reviewdog 🐶 : # github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite [github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite.test] Raw Output: ledger/store/trackerdb/testsuite/accounts_ext_kv_test.go:1: : # github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite [github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite.test]
reviewdog-errors: ledger/store/trackerdb/testsuite/utils_test.go#L106
[Lint Errors] reported by reviewdog 🐶 cannot use &mockDB{…} (value of type *mockDB) as trackerdb.Store value in assignment: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn) Raw Output: ledger/store/trackerdb/testsuite/utils_test.go:106:7: cannot use &mockDB{…} (value of type *mockDB) as trackerdb.Store value in assignment: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
reviewdog-errors: ledger/store/trackerdb/testsuite/utils_test.go#L132
[Lint Errors] reported by reviewdog 🐶 cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn) Raw Output: ledger/store/trackerdb/testsuite/utils_test.go:132:38: cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn)
reviewdog-errors: ledger/store/trackerdb/testsuite/utils_test.go#L169
[Lint Errors] reported by reviewdog 🐶 cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn) Raw Output: ledger/store/trackerdb/testsuite/utils_test.go:169:32: cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
reviewdog-errors: ledger/store/trackerdb/testsuite/utils_test.go#L240
[Lint Errors] reported by reviewdog 🐶 cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn) Raw Output: ledger/store/trackerdb/testsuite/utils_test.go:240:72: cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
reviewdog-errors: ledger/store/trackerdb/testsuite/utils_test.go#L347
[Lint Errors] reported by reviewdog 🐶 cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn) (typecheck) Raw Output: ledger/store/trackerdb/testsuite/utils_test.go:347:38: cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn) (typecheck) // Copyright (C) 2019-2024 Algorand, Inc.
reviewdog-errors
reviewdog exited with status code: 1
reviewdog-shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
reviewdog-shellcheck
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
reviewdog-errors
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
reviewdog-warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636