-
Notifications
You must be signed in to change notification settings - Fork 4
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
Agent RPC migration #512
Comments
This one will take much less time compared to the client migration since there are much less handlers to migrate. At the same time we need to work out some things with the git handlers. They need to be implemented with the raw handlers and possibly need some features added to it to support middlware. For timing this is blocked by the quic changes but doesn't strictly require them to get started, just to run it. |
There are going to be common elements used between the agent RPC and the client RPC. This stuff should be kept to a common domain. The specifics of this need to be worked out during this issue. |
When migrating the agent handlers, we need to update them to use the CTX and timeouts. |
Since closing #466: Very important to review also the client RPC to ensure deadlines are also applied too. On the server side, handlers that are asynchronous should have a deadline propagated into asynchronous subcalls. |
There are a few stages to this one.
|
I should possibly do the following issues while working on this. |
Shouldn't this have been part of #495? Ah yes it is. |
Specification
Similar to #509 but separate enough to be it's own issue/PR. We need to migrate the agent-agent communication to make use of the new agnostic RPC and quic system being developed. Thankfully there are much fewer agent-agent handlers we need to migrate but they tend to be more complicated.
Some complications that need to be addresses is the the git pull and clone logic. They need to be updated to make use of the raw streams. The raw stream feature may need to be expanded to support this.
This is currently blocked by the quic system.
Part of migrating the agent, the
network
andGRPC
domains should be removed. Any code still depending on them need to be updated to the new systems.We need to spec out how we want to handle the common elements between the client and agent RPC. They will end up sharing middleware, message data structure and metadata structure. These things should be kept in a common location but the
RPC
domain isn't appropriate.Additional context
rpc
handlers abstract arrow function properties. js-rpc#5Tasks
The text was updated successfully, but these errors were encountered: