-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge: branch '3595-better-errors' into 'main'
Improve error reporting [#3595] Closes #3595 See merge request accumulatenetwork/accumulate!1061
- Loading branch information
Showing
36 changed files
with
388 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# Render playbooks as markdown | ||
*.play gitlab-language=markdown | ||
|
||
# Collapse go.sum in merge requests | ||
go.sum gitlab-generated | ||
|
||
# LFS files | ||
*.dat filter=lfs diff=lfs merge=lfs -text | ||
test/testdata/executor-v1-consistency.json filter=lfs merge=lfs -text | ||
test/testdata/api-v2-consistency.json filter=lfs merge=lfs -text | ||
scripts/data/dn-12614506.fix filter=lfs diff=lfs merge=lfs -text | ||
scripts/data/pre-v2-txn-apollo-fix.dat filter=lfs diff=lfs merge=lfs -text | ||
scripts/data/pre-v2-txn-chandrayaan-fix.dat filter=lfs diff=lfs merge=lfs -text | ||
scripts/data/pre-v2-txn-dn-fix.dat filter=lfs diff=lfs merge=lfs -text | ||
scripts/data/pre-v2-txn-yutu-fix.dat filter=lfs diff=lfs merge=lfs -text | ||
scripts/data/revert-12614506-patch.json filter=lfs diff=lfs merge=lfs -text | ||
scripts/data/dn-12614506.diff filter=lfs diff=lfs merge=lfs -text | ||
scripts/bin/v1.2.9/dbrepair-linux-amd64 filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,48 @@ | ||
output: test/mocks | ||
case: underscore | ||
recursive: true | ||
keeptree: true | ||
with-expecter: true | ||
name: ^(NodeService|ConsensusService|NetworkService|MetricsService|Querier|Submitter|Validator|EventService|Sequencer)$ | ||
mockname: '{{.InterfaceName}}' | ||
filename: '{{.InterfaceName | snakecase}}.go' | ||
outpkg: mocks | ||
|
||
packages: | ||
gitlab.com/accumulatenetwork/accumulate/pkg/api/v3: | ||
config: | ||
# TODO Remove nesting | ||
dir: test/mocks/pkg/api/v3 | ||
interfaces: | ||
NodeService: ~ | ||
ConsensusService: ~ | ||
NetworkService: ~ | ||
MetricsService: ~ | ||
Querier: ~ | ||
Submitter: ~ | ||
Validator: ~ | ||
EventService: ~ | ||
Sequencer: ~ | ||
|
||
gitlab.com/accumulatenetwork/accumulate/internal/api/private: | ||
config: | ||
dir: test/mocks/api_v3 | ||
interfaces: | ||
Sequencer: ~ | ||
|
||
gitlab.com/accumulatenetwork/accumulate/pkg/api/v3/p2p/dial: | ||
config: &inpkg_test | ||
dir: '{{.InterfaceDir}}' | ||
mockname: 'Mock{{.InterfaceName}}' | ||
outpkg: '{{.PackageName}}' | ||
filename: 'mock_{{.InterfaceName}}_test.go' | ||
inpackage: true | ||
interfaces: | ||
Connector: ~ | ||
Discoverer: ~ | ||
MessageStreamHandler: ~ | ||
|
||
gitlab.com/accumulatenetwork/accumulate/pkg/api/v3/message: | ||
config: *inpkg_test | ||
interfaces: | ||
MultiDialer: ~ | ||
|
||
gitlab.com/accumulatenetwork/accumulate/internal/api/routing: | ||
config: *inpkg_test | ||
interfaces: | ||
Router: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.21 as build | ||
FROM golang:1.22 as build | ||
|
||
ARG GIT_DESCRIBE | ||
ARG GIT_COMMIT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.