feat: Add `sentry review` command for AI-powered code review
@MathurAditya724 がすでに取り組んでいます。
2026年2月3日 から。
評価
この issue はまだ評価されていません。
説明
Summary
Add a sentry review command that uses Sentry's Seer AI to review code for bugs, logic errors, and issues that could cause production failures.
Why Before the PR?
The key insight: catch problems before you push, not after.
When you create a PR:
- CI pipelines spin up (costs time and resources)
- Teammates get notified
- Failed checks create noise and delay
With sentry review, you can run a quick AI-powered check locally and fix issues before creating the PR. Ship cleaner code on the first push.
Command Design
# Review current branch changes (vs main)
sentry review
# Review specific PR
sentry review --pr 123
# Review a file or directory
sentry review src/handlers/
# Review staged changes only
sentry review --staged
What It Catches
- Logic errors - Bugs and flawed control flow
- Error-prone patterns - Code likely to cause production failures
- Performance issues - Regressions or inefficient code
- Security concerns - Potential vulnerabilities
Key Differentiator
Unlike generic linters, Seer combines:
- Error context - Historical production errors from Sentry
- Performance data - Real issues your app has experienced
- Code analysis - Static examination of changes
This surfaces issues that will actually cause production problems, not pedantic style nits.
Technical Details
- Use Seer API endpoint for code review
- Integrate with GitHub PR context when available
- Output actionable suggestions with file:line references
- Support both interactive and CI modes
References
- Product page: https://sentry.io/product/seer/ai-code-review/
- Similar to existing Seer commands (
sentry issue explain,sentry issue plan)
- 主要言語
- TypeScript
- スター
- 121
- フォーク
- 14
- 平均マージ
- 23時間 54分
- マージ済み PR(30日)
- 103
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
bug jared
-
jared
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
似ている issue
-
blocklist removal
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MetaMask/eth-phishing-detect#296544 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pastelsky/bundlephobia#1122 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100