Repository navigation
feat(python-cli-parity): post and update GitHub scan comments - #1769
Conversation
PR SummaryMedium Risk Overview A new Reviewed by Cursor Bugbot for commit e01bb4f. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit e01bb4f. Configure here.
7054009 to
7cad8f1
Compare
8957478 to
42ae906
Compare
1bc2743 to
095891f
Compare
2bb3ac4 to
8ba9f2b
Compare
8ba9f2b to
8828610
Compare
8828610 to
2464a19
Compare
2464a19 to
c25db1e
Compare
fc064b8 to
11741b2
Compare
28ab256 to
a57cc18
Compare
a57cc18 to
9e543dd
Compare
9e543dd to
7cad8f1
Compare
9e543dd to
7cad8f1
Compare
9e543dd to
181392b
Compare
181392b to
8884829
Compare
8884829 to
0708403
Compare
0708403 to
456b90e
Compare

Python CLI behavior
The Python CLI publishes two pull request comments: a dependency overview and a security findings report. On later runs it finds and updates those comments in place instead of adding duplicates, and each comment can be disabled independently. Python comment handling
What this adds to Socket CLI
This PR adds the same comment workflow to Socket CLI's
socket ci. It requests Socket-rendered overview and findings text from the diff-scan comments API, then creates or updates the corresponding GitHub pull request comments. It builds on #1766, so the comments and the CI verdict use the same diff scan.Set
SOCKET_CLI_GITHUB_TOKEN,GITHUB_TOKEN, orGH_TOKENto a GitHub token with pull request write permission. The Socket API token needsfull-scans:list,diff-scans:create, anddiff-scans:list. Disable either comment independently withSOCKET_CLI_DISABLE_OVERVIEW_COMMENT=trueorSOCKET_CLI_DISABLE_SECURITY_COMMENT=true.Slides