Skip to content

ADR 109: Fix mock generation - #1607

Merged
thanethomson merged 2 commits into
feature/adr109-reduce-go-api-surfacefrom
thane/adr109/fix-mocks
Nov 13, 2023
Merged

thanethomson merged 2 commits into
feature/adr109-reduce-go-api-surfacefrom
thane/adr109/fix-mocks

Conversation

@thanethomson

Copy link
Copy Markdown
Contributor

Not sure why I didn't pick this up sooner when implementing ADR 109, but this fixes the paths for mock generation introduced in #1485 (the tests all passed back then).


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@thanethomson
thanethomson requested a review from a team as a code owner November 13, 2023 16:23
@thanethomson
thanethomson requested a review from a team November 13, 2023 16:23
@thanethomson
thanethomson force-pushed the thane/adr109/fix-mocks branch from 5d6e7c3 to 851da97 Compare November 13, 2023 16:49
@thanethomson
thanethomson merged commit 5821c0a into feature/adr109-reduce-go-api-surface Nov 13, 2023
@thanethomson
thanethomson deleted the thane/adr109/fix-mocks branch November 13, 2023 17:04
github-merge-queue Bot pushed a commit that referenced this pull request Nov 15, 2023
* ADR 109: Internalize specific packages to reduce surface area (#1485)

* consensus: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* evidence: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* inspect: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* state: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* blocksync: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* statesync: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* store: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/async: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/autofile: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/bits: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/clist: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/cmap: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/events: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/fail: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/flowrate: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/os: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/progressbar: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/protoio: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/pubsub: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/net: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/rand: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/service: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/strings: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/sync: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/tempfile: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* libs/timer: Move into internal

Signed-off-by: Thane Thomson <[email protected]>

* Add changelog entries

Signed-off-by: Thane Thomson <[email protected]>

---------

Signed-off-by: Thane Thomson <[email protected]>

* ADR 109: Modularize test infra (#1488)

* test/e2e: Split out as separate module

Signed-off-by: Thane Thomson <[email protected]>

* test/loadtime: Split out as separate module

Signed-off-by: Thane Thomson <[email protected]>

* test/e2e: Remove optimization from Docker image construction

Signed-off-by: Thane Thomson <[email protected]>

* Ensure that linter covers E2E framework and app

Signed-off-by: Thane Thomson <[email protected]>

* Update CI linting to cover submodules

Signed-off-by: Thane Thomson <[email protected]>

* Add changelog entry

Signed-off-by: Thane Thomson <[email protected]>

* Expand linter coverage to loadtime tool

Signed-off-by: Thane Thomson <[email protected]>

* Add missing phony entries

Signed-off-by: Thane Thomson <[email protected]>

* test/e2e: Sync debug Dockerfile with primary Dockerfile

Signed-off-by: Thane Thomson <[email protected]>

---------

Signed-off-by: Thane Thomson <[email protected]>

* chore: ADR 109: go mod tidy (#1606)

* go mod tidy

Signed-off-by: Thane Thomson <[email protected]>

* go.mod: Remove patch version

Signed-off-by: Thane Thomson <[email protected]>

* go.mod: Remove new toolchain directives

Signed-off-by: Thane Thomson <[email protected]>

---------

Signed-off-by: Thane Thomson <[email protected]>

* ADR 109: Fix mock generation (#1607)

* internal: Fix mockery code generation script paths

Signed-off-by: Thane Thomson <[email protected]>

* make mockery

Signed-off-by: Thane Thomson <[email protected]>

---------

Signed-off-by: Thane Thomson <[email protected]>

---------

Signed-off-by: Thane Thomson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants