PPLT-5495: Add file diff data to generate graph#2273
Conversation
Claude Code PR ReviewPR: #2273 • Head: 59b0a66 • Reviewers: stack:code-reviewer SummaryAdds line-level diff ranges to the SmartSnap graph pipeline: a new Review Table
Findings
Verdict: PASS |
bhokaremoin
left a comment
There was a problem hiding this comment.
Remove the claude's unnecessary code comments
* Revert "PPLT-5495: Add file diff data to generate graph (#2273)" This reverts commit 2392017. * Revert "Export applySmartSnap functionality from CLI (#2207)" This reverts commit d3f7f71. * Keep Semgrep.yml pinned to semgrep/semgrep:1.164.0 The PR #2207 revert also reverted the Semgrep image pin back to returntocorp/semgrep, which reintroduces the bug where --sarif counts nosemgrep-suppressed findings as blocking. Keep the 1.164.0 pin. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This PR complies with the new implementation of the smartsnap API contract with backend
Changes
locshort for location key which maps to aArray<{start: number, end: number}>. This PR will read thoselocand transform them toArray<Tuple<number,number>>@ oldStart,linesRemoved newStart,numberOfNewLines @@and extract newStart and numberOFNewLines and send that as part of the generate graph API payload for all diff and all files changed.