Skip to content

feat(remote): add remotes, over HTTP or a local path - #127

Open
PiquelChips wants to merge 1 commit into
feat/sync-append-allfrom
feat/sync-remote
Open

PiquelChips wants to merge 1 commit into
feat/sync-append-allfrom
feat/sync-remote

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

Nodes need to share work with one remote: a server over HTTP, or another repository's path.

Remote answers the same calls either way:

  • over HTTP, through the SDK, on a runtime of its own so callers block;
  • for a path, a server's repository or a working copy's, through an OriginService run in-process as this node.

So sync never tells them apart, and plugins can use it as their only API. Each call is one line of a calls! macro, naming the SDK method and the service method that answer it.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b3e28d9f-45a8-4042-ae91-7d311b825c3e
Commits

Reviewing files that changed from the base of the PR and between 80d23c2 and 3040234.

Files selected for processing: 3

  • apps/origin-src/Cargo.toml
  • apps/origin-src/src/lib.rs
  • apps/origin-src/src/remote.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PiquelChips
PiquelChips added this pull request to stack #165 November 22, 2026 14:59
@PiquelChips
PiquelChips force-pushed the feat/sync-remote branch 3 times, most recently from b159d78 to 816c170 Compare November 22, 2026 18:54
A node shares its work with one remote: a repository on a server,
`http://host[:port]/<repository>`, or one on a local path, a server's or
a working copy's. `Remote` answers the same calls either way: over HTTP
through the SDK, on a runtime of its own so callers block, or for a path
through an `OriginService` run in-process as this node. So sync never
tells them apart, and plugins can use it as their one API.

Each call is one line of a `calls!` macro, naming the SDK method and the
service method that answer it. origin-src now depends on origin-client
for it, not only its tests.
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