SocketDev / SocketDev/socket-cli
GitHub App: PR overview comment re-edited on every push with no content change
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 317
- フォーク
- 65
- 平均マージ
- 1時間 26分
- マージ済み PR(30日)
- 30
説明
The Socket GitHub App's PR overview comment (<!-- overview-comment -->) is edited in place after every push, even when the dependency diff is completely unchanged. On one PR I observed 8 edits in ~50 minutes; diffing the bodies, the only change each time was the diff-scan/<uuid> in the dashboard links — same package, same scores, same table, byte-identical otherwise.
Each edit re-notifies subscribers and fires issue_comment.edited webhooks, so unchanged scans produce pure notification churn for humans and bots watching the PR.
Request: skip the comment edit when the rendered body (ignoring scan-run IDs in URLs) is identical to what is already posted. The new scan ID doesn't need to reach the comment — the dashboard already has it
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、GitHub App の PR 概要コメントのレンダリングと更新パスを特定し、次に dashboard URLs 内の scan-run IDs を無視して、レンダリングされた本文と既存のコメントを比較します。依存関係 diff に変更がない push でコメントが変更されず、重複した通知と issue_comment.edited webhooks が発生しなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 68/100