Repository navigation
test(pr-review-cli): require a -diff lock file's changed URL in the full diff - #886
Conversation
…ull diff main's .gitattributes marks package-lock.json, packages.lock.json and *.lock -diff, so before #884 a lock file's resolved URL change reached the reviewer as "Binary files differ". The full-diff test now gives the base those attributes and a lock file, changes its resolved URL at the head, and requires both the removed and the added line in the written diff. It fails against the v0.65.8 workflow and passes on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude finished @kyle-sexton's task in 32s —— View job Security review complete
Skip gate: no security-relevant surface. The only change is in No security issues found. critical-findings: 0 claude-lane-summary: lane=claude-security-review sha=3eff8c9cf2d8fe417a93aa0861990058c6893099 run=40149652716 |
|
Claude finished @kyle-sexton's task in 2m 24s —— View job Code review complete
Scope: 1 file changed, test-only ( FindingsNone. The added fixture in the
PR body contract: compliant — opens with Verification note: I was not able to execute claude-lane-summary: lane=claude-review sha=3eff8c9cf2d8fe417a93aa0861990058c6893099 run=40149652716 |
|
claude-security-review has reviewed this pull request through 3eff8c9; a later push is reviewed from there. |
|
claude-review has reviewed this pull request through 3eff8c9; a later push is reviewed from there. |
No related issue: follow-up fixture for #884 (review-input hardening from claude-code-plugins#9875 review, F5)
Summary
main's own
.gitattributesmarkspackage-lock.json,packages.lock.jsonand*.lockas-diff. Before #884, a change to a lock file'sresolvedURL reached the reviewer only asBinary files differ. #884 fixed that withgit diff --text, but its test covered only attributes that the head adds. This adds the base-attribute case.Fix
The full-diff test now does three things in both review jobs:
-diffattributes and apackage-lock.json;resolvedURL at the head;"resolved"line in the written diff.Test only, so no release is needed.
Verification
node --test .github/scripts/pr-review-cli.test.cjspasses: 30 pass, 0 fail.4f79cc92) the test fails: pass 0, fail 1.biome ci .githubis clean.Related
🤖 Generated with Claude Code