Repository navigation
feat(queue): create targets and land them on each other - #96
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 34 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/land-targets
branch
from
November 22, 2026 18:54
b72315e to
2df826a
Compare
A target could only take changes, so work that spans many changes, a release branch or an overhaul, had nowhere to gather before reaching `main`. `Queue::create_target` forks a target at the tip of another, with a first acceptance landing it. `Queue::land_target` lands one target's tip on another, working like a change: its tip is merged onto the target's, the requirements apply to the merged snapshot, and conflicts issue a `core.conflict` about the source's tip and wait. The merge base comes from both histories: an acceptance's parents are the one before it and the acceptances of other targets it landed, so targets forked from the same one share it. The newest shared acceptance wins, however far, and several, after targets landed each other, are merged recursively. Wherever those bases disagree on whether a path is a file or a directory, any change under it conflicts. A merge that changes nothing still lands, as an acceptance of the same state needing no evidence, so the target's history records the source's tip and later merges start from it, unless either tip is already in the other's history: then neither has anything the other lacks.
PiquelChips
force-pushed
the
feat/land-targets
branch
from
November 22, 2026 19:20
2df826a to
43d18a6
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.
A target could only take changes, so work spanning many changes, such as a release or an overhaul, had nowhere to gather before reaching
main.Queue::create_targetforks a target at the tip of another.Queue::land_targetlands one target's tip on another, like a change: the tips merge, the requirements apply to the merged snapshot, and a conflict issues acore.conflictand waits.Merge base. It comes from both histories: an acceptance's parents are the one before it and the acceptances of other targets it landed. The best common ancestors win, merged recursively when there are several, as git's recursive strategy does. Wherever the bases disagree on whether a path is a file or a directory, any change under that path conflicts.
A merge that changes nothing still lands, as an acceptance of the same state that needs no evidence, so later merges start from it. The exception is when either tip already contains the other: then neither has anything the other lacks.
Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)