Compare a merged base and a failed compare call in the review bundle
Maintainers usually reply within 1 day
@Alan52254 is already working on this.
Since Nov 13, 2026.
Assessment
This issue has not been assessed yet.
Description
The rewrite comparison that #605 adds to review-bundle.sh reads a rebase or an amend through a tree diff and a range-diff. Three cases came up in review and were left out of that change on purpose, so it stays at what #587 asked for.
- A head whose compare status is
merged(Update branch, or a hand merge of the base) still gets the whole diff. Accepting it needs a check that the merge brought in only the base, so a merge of some other branch is not reported asrewritten. - When the compare call fails but the clone already holds the old head as an ancestor with no merge commits,
git diff old headgives theaheadanswer locally instead of falling back to the whole diff. - A status of
unknownover a merged history should give the same answer asmerged, and the order in whichcompare_whypicks its reason for it should be fixed in one place.
Acceptance:
- one test per cell of the status matrix (
ahead,behind,diverged,merged,unknown) crossed with--since-basegiven or not, and with the fetch, the merge-base or the range-diff step failing; - each fallback names its reason in the manifest
since.whyand in SKILL.md; - the helper that gives up on a comparison is the single place that sets the reason.
- Dominant language
- Rust
- Stars
- 236
- Forks
- 153
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 187
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sysprog21/codetrial
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Unify Java harness validation error messagesPossibly taken @weichieh0204 claimed this today. Open
sysprog21/codetrial#872 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Inferred void class operations are never checked against the starter's return typePossibly taken @papaya0112 claimed this today. Open
sysprog21/codetrial#871 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwritePossibly taken @BOBOGUAGUA428 claimed this today. Open
sysprog21/codetrial#869 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in sysprog21/codetrial
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
eliasstravik/herdr-projects#1605 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
jlcodes99/cockpit-tools#3332 ·
Maintainers usually reply within 3 days
-
Cognito: the email MFA code (EMAIL_OTP challenge after a password flow) has 8 digits; AWS delivers 6Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aws/aws-emulator#692 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 82/100
pamburus/hl#1779 · 1 comment ·
Maintainers usually reply within 1 day