Skip to content

feat(cli): land changes and targets from the command line - #99

Open
PiquelChips wants to merge 1 commit into
feat/land-benchfrom
feat/land-cli
Open

PiquelChips wants to merge 1 commit into
feat/land-benchfrom
feat/land-cli

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

The queue could land changes and targets, but only from code.

Commands:

  • origin land [<change>] [--onto <target>] lands a change, the working copy's by default, with the changes below it, on the target its stack is on unless told otherwise.
  • origin land --from <a> --onto <b> lands one target's tip on another.
  • origin land --status lists the landings that wait, and how to retry them.
  • origin target new <name> --from <target> forks a target, and origin targets lists each with its tip, authority and requirements.
  • origin new --on <target> starts a change on a target's tip, such as policy to edit policy.toml.

The queue runs in this process, as this node, so it lands only where this node is the authority. Afterwards the working copy follows its change. When it lands, or the target already has it, a new change starts on the target's tip. When the queue rebased it, the working copy becomes the rebased revision. When it sits on a change that landed, it's rebased onto the tip if that merges cleanly.

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: 9b82a986-f6b9-4046-821a-13662d2e85d0
Commits

Reviewing files that changed from the base of the PR and between 5b46673 and 6bb22c3.

Files selected for processing: 5

  • README.md
  • apps/origin-src/src/cli.rs
  • apps/origin-src/src/workspace/land.rs
  • apps/origin-src/src/workspace/mod.rs
  • apps/origin-src/tests/cli.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

The queue could land changes and targets, but only from code.

`origin land [<change>] [--onto <target>]` lands a change, the working
copy's by default, with the changes below it, on the target its stack
is on unless told otherwise. The queue runs in this process, as this
node, so it lands only where this node is the authority. Afterwards the
working copy follows its change: once it lands, or the target already
had it, a new change starts on the target's tip; when the queue rebased
it, the working copy becomes the rebased revision; and when it sits on a
change that landed, it's rebased onto the tip if that merges cleanly.

`origin land --from <a> --onto <b>` lands one target's tip on another,
and `origin land --status` lists the landings that wait, and how to
retry them. `origin target new <name> --from <target>` forks a target,
`origin targets` lists each with its tip, authority and requirements,
and `origin new --on <target>` starts a change on a target's tip, such
as `policy` to edit `policy.toml`. A change with unresolved conflicts
is now refused when it's landed, which the conflict tests check.
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