Repository navigation
Receipt: recorded against the branch's merge-base, not origin/<base> - #381
Conversation
Once another pull request has merged, origin/<base> holds code the branch does not; a comparison against it reports that PR's changes as this one's. The receipt skill also no longer asks for a rebase before recording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012mR37bzMSJWYPpFgLhy9sk
|
@claude review |
|
Claude finished @rmrsk's task in 17s —— View job Review of #381: record the receipt against the merge-baseNo blocking findings. The change is documentation only, and the reasoning matches the "Merging" rule in Correct
Minor, non-blocking
Docs-audit view: no renamed identifiers, no Doxygen links, and no |
…te under the comparison examples) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012mR37bzMSJWYPpFgLhy9sk
|
@claude review |
|
Claude finished @rmrsk's task in 13s —— View job Review of #381: record the receipt against the merge-baseNo blocking findings. The change is documentation only. I read the final diff ( The previous round's wording points are addressed:
Correct
Minor, non-blocking
Docs-audit view: no renamed identifiers, no Doxygen links, no |
Summary
Background
A receipt must measure a pull request against the commit its branch starts from (its merge-base with
main); CIrejects a receipt for any other base. The receipt skill,
CLAUDE.mdandPerformanceTesting.rstall gave thecommand as
Scripts/run-performance.sh compare origin/<base> --record. That is right only whilemainhas notmoved since the branch was made. Once another pull request has merged,
origin/mainholds code the branch does not,and the comparison reports that pull request's changes, reversed, as this one's. This happened when the receipt of
#380 was recorded again after #361 merged: a red report, with #361's kernels listed as gone.
The skill also told the reader to rebase the branch onto
origin/<base>before recording, which contradictsCLAUDE.md("Merging": a branch is rebased only for a conflict, and a receipt stands on the PR's own base).Solution
.claude/skills/receipt/SKILL.md: the two receipt commands compare against$(git merge-base HEAD origin/<base>),with the reason; the instruction to rebase first is replaced by a pointer to the rule.
CLAUDE.md: the receipt command in "Vetting every pull request for performance" names the merge-base, with thereason.
Docs/Sphinx/source/PerformanceTesting.rst: the same command, and a short paragraph on why the base is themerge-base.
Side-effects
None in code. The quick-look commands (
compare origin/<base> '<glob>' --rounds 1) are unchanged: they recordnothing, and a developer may want to compare with the current
main.Alternative solutions
run-performance.sh --recordcould take the merge-base itself when givenorigin/<base>. That changesPerformance/and the receipt fingerprint, so every open PR would need its receipt recorded again; not done here.CheckReceipt.cmake's hint ("Record it again: ...") already uses the base CI passes it, so it is left as is.Performance
Documentation only: no library or probe change, so the receipt inherited from
mainstands.Where to look
.claude/skills/receipt/SKILL.md, step 1 and its commands.Reviewer checklist (to be completed by a human)
@claude review.🤖 Generated with Claude Code
https://claude.ai/code/session_012mR37bzMSJWYPpFgLhy9sk