Repository navigation
feat(queue): promote results within their target only - #155
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/ci-target-promotion
branch
from
November 22, 2026 15:04
b83c5b9 to
a9d047e
Compare
PiquelChips
force-pushed
the
feat/ci-target-promotion
branch
2 times, most recently
from
November 22, 2026 18:54
88e2bc8 to
947fed0
Compare
Two targets can define different checks, so a result about a revision on one says nothing about a revision on another, even with the same input digest. A target landing made it worse: its evidence was about the merged snapshot, a bare tree shared by every target the same merge lands on. A record is now on a target: an acceptance on its own, a revision on the target of the acceptance it's based on, through the revisions below it (`Store::target_of`). Promotion only carries results over between records on the same target, and `Store::claim` refuses a promotion from another one (`InvalidPromotion::OtherTarget`). A target landing's evidence is now about a revision the queue makes for the merge, on the tip of the target it lands on, as a rebase is. The same tips make the same revision, so a retry checks it again, and a result about the same merge on another target never counts.
PiquelChips
force-pushed
the
feat/ci-target-promotion
branch
from
November 22, 2026 19:20
947fed0 to
c62fff4
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.
Two targets can define different checks, so a result about a revision on one says nothing about a revision on another, even with the same input digest. Target landings made this worse: their evidence was about the merged snapshot, a bare tree shared by every target the same merge lands on.
A record is now on a target: an acceptance on its own, and a revision on the target of the acceptance it's based on, through the revisions below it (
Store::target_of). Promotion only carries results over between records on the same target, andStore::claimrefuses a promotion from another one (InvalidPromotion::OtherTarget).A target landing's evidence is now about a revision the queue makes for the merge, on the tip of the target it lands on, as a rebase is. The same tips make the same revision, so a retry checks it again, and the merged snapshot of a waiting target landing can be fetched and checked like any revision.
Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)