Repository navigation
feat(cli): land and watch through the remote - #135
Open
PiquelChips wants to merge 1 commit into
Open
PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou'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 19 minutes. View limit details
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. |
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
from
November 22, 2026 15:04
c1285c8 to
bae7bea
Compare
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
3 times, most recently
from
November 22, 2026 19:20
2443897 to
1ad5196
Compare
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
4 times, most recently
from
November 23, 2026 15:01
f683bb8 to
a5c0e79
Compare
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
4 times, most recently
from
November 24, 2026 22:47
a323afb to
08cdd0b
Compare
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
from
November 24, 2026 22:58
08cdd0b to
cc2fe2e
Compare
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
from
November 25, 2026 16:21
cc2fe2e to
553afa1
Compare
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
from
November 25, 2026 17:32
553afa1 to
986e84e
Compare
The chains of a remote's targets are copies of the remote's, which only the remote extends, even when this node is their authority. So `land`, `land --from` and `target new` go to the remote's queue for every target the remote has: `land` pushes the stack first, and each fetches the target's chain and the landed records after. Targets only this repository has still land here. A change with no `--onto` lands on the target its stack is on, which `Store::stack_target` finds. `targets` and `land --status` show the remote's targets and waiting landings with this repository's own, and `watch` long-polls the remote's events, or with `--local`, this node's. A landing is decided on the evidence the remote holds when it's tried: send a statement together with the one it supersedes, as `push` does.
PiquelChips
force-pushed
the
feat/sync-remote-landing
branch
from
November 25, 2026 18:15
986e84e to
5ca0953
Compare
This file contains hidden or 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
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.
What and why
A remote's targets are copies of the remote's chains, which only the remote extends, even when this node is their authority. So landing on them here would fork them.
land,land --fromandtarget newgo to the remote's queue for every target the remote has.landpushes the stack first, and each fetches the target's chain and the landed records after. Targets only this repository has still land here.targetsandland --statusshow the remote's targets and waiting landings with this repository's own.watchlong-polls the remote's events, or this node's with--local.One thing to know: a landing is decided on the evidence the remote holds. A statement and the statement it supersedes must be sent together, as
pushdoes.Review fix: the watch test reads from
--since 0instead of sleeping.It follows the engineering standard, which the stack below it adopts: it drops or turns into docs and markers its own plain comments; keeps its docs within 10 lines, with the formats and rules in
docs/design.md.Testing
CI runs
just lint,just testandjust standardon this commit. Rebuilding the stack checkedjust standardandjust linton every commit, andjust teston the top.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)