Skip to content

Fix inline suggestions: use local git diff and require summary file a…#312

Merged
jth-nw merged 1 commit intomainfrom
dev
Feb 24, 2026
Merged

Fix inline suggestions: use local git diff and require summary file a…#312
jth-nw merged 1 commit intomainfrom
dev

Conversation

@jth-nw
Copy link
Collaborator

@jth-nw jth-nw commented Feb 24, 2026

…lways

  • Switch get_pr_diff_valid_lines from gh pr diff to git diff BASE_SHA HEAD_SHA --unified=3, ensuring valid line numbers always match the commit_id used in the PR review payload and eliminating line: null on inline suggestions
  • Add BASE_SHA env var to the Python step
  • Update Claude prompt to always write /tmp/review-summary.md even when no issues are found, preventing "No summary was generated." on clean documents

Generated with AI

…lways

- Switch get_pr_diff_valid_lines from gh pr diff to git diff BASE_SHA HEAD_SHA
  --unified=3, ensuring valid line numbers always match the commit_id used in
  the PR review payload and eliminating line: null on inline suggestions
- Add BASE_SHA env var to the Python step
- Update Claude prompt to always write /tmp/review-summary.md even when no
  issues are found, preventing "No summary was generated." on clean documents

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
@jth-nw jth-nw merged commit 4a438ba into main Feb 24, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant