-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pd: 📬 create tonic router in penumbra-app #3679
Merged
Merged
Conversation
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
cratelyn
added
A-node
Area: System design and implementation for node software
E-day
C-chore
Codebase maintenance that doesn't fix bugs or add features, and isn't urgent or blocking.
labels
Jan 26, 2024
cratelyn
force-pushed
the
katie/merging-tonic-routers
branch
from
January 26, 2024 18:47
e8ab3aa
to
28c406c
Compare
this list has grown to include other external dependencies, not just crates in the penumbra-zone organization. change this comment to reflect that.
cratelyn
force-pushed
the
katie/merging-tonic-routers
branch
from
January 26, 2024 19:26
28c406c
to
495ecd2
Compare
cratelyn
force-pushed
the
katie/merging-tonic-routers
branch
from
January 26, 2024 19:27
495ecd2
to
c25ff39
Compare
cratelyn
force-pushed
the
katie/merging-tonic-routers
branch
from
January 26, 2024 22:24
c25ff39
to
b43cf7b
Compare
NB: this includes #3687. |
This was referenced Jan 30, 2024
This was referenced Mar 10, 2024
cratelyn
added a commit
that referenced
this pull request
Mar 12, 2024
see #3913, #3973 and #3588. this is a second attempt, following up on #3980. #### 🔭 background NB: the difference between this and #3679 is that the latter (_which ran afoul of a regression_) would have `penumbra-app` create a `Routes`, that we would [add](https://github.com/penumbra-zone/penumbra/pull/3679/files#diff-fbc4204ceb976c8cb30ed06168e2476700bae21bfd803e26281b2d026194d430R204) to the builder (_which stays in `pd`_). here, i'm not trying to make that cut between `Router` and `Routes`, and am attempting to hoist the whole thing out of `pd`, without making changes to how we interact with `tonic`. my aim is for us to be able to move this, without running into that bug (#3697) again. NB: after running into problems in #3980, i found a way to easily reproduce the issue locally. my belief was that something related to our dependencies' cargo features was at play. rather than isolate the issue, it was easier to rewrite this (_it's just code motion, after all_) while running some of the network integration tests in a loop. unlike #3980, this moves the rpc server into `penumbra-app`, per #3980 (comment) #### 👁️ overview we would like to use the rust view server in mock consensus tests. in order to run the `penumbra_view::ViewServer` however, we need to spin up the corresponding grpc endpoint for it to connect to. this branch performs a bit of code motion, moving the `grpc_server` out of `pd` and into `penumbra-app`. there will likely be other functional changes to the code in question before we can use it in those tests, but this PR is interested in moving that code into a place where our tests can rely upon it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this addresses a todo comment found in the
pd
entrypoint. we are now usingtonic
0.10 so we can have thepenumbra-app
crate assemble aRoutes
, sparing us the recitation of every service.