Skip to content

refactor: switch RPC protocol to irpc #18

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

refactor: switch RPC protocol to irpc #18

wants to merge 2 commits into from

Conversation

Frando
Copy link
Member

@Frando Frando commented May 21, 2025

Supersedes #15
Depends on n0-computer/irpc#14

Moves the RPC protocol to irpc.

  • Moves the RPC protocol to irpc.
  • Auth flow is unchanged
  • When a request fails for missing caps, we no longer terminate the connection but instead return an error response and continue processing requests
  • Improved RPC error handling: Only expose MissingCap(caps) and InternalServerError over the RPC boundary. Actual anyhow errors are only warn! logged but not sent as strings.

@Frando Frando mentioned this pull request May 21, 2025
@Frando Frando changed the title refactor: move RPC protocol to irpc refactor: switch RPC protocol to irpc May 21, 2025
@Frando Frando marked this pull request as ready for review May 21, 2025 21:32
Copy link

github-actions bot commented May 21, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-n0des/pr/18/docs/iroh_n0des/

Last updated: 2025-05-22T10:34:15Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant