Loading...
Loading...
Compare original and translation side by side
gh api repos/{owner}/{repo}/pulls/{PR_NUMBER}/comments \
--jq '.[] | select(.user.login | startswith("sentry")) | {file: .path, line: .line, body: .body}'sentry[bot]gh api repos/{owner}/{repo}/pulls/{PR_NUMBER}/comments \
--jq '.[] | select(.user.login | startswith("sentry")) | {file: .path, line: .line, body: .body}'sentry[bot]**Bug:**<sub>Severity: X | Confidence: X.XX</sub><summary>🔍 <b>Detailed Analysis</b></summary><summary>💡 <b>Suggested Fix</b></summary><summary>🤖 <b>Prompt for AI Agent</b></summary>**Bug:**<sub>Severity: X | Confidence: X.XX</sub><summary>🔍 <b>Detailed Analysis</b></summary><summary>💡 <b>Suggested Fix</b></summary><summary>🤖 <b>Prompt for AI Agent</b></summary>undefinedundefined| File:Line | Issue | Severity | Fix Applied |
|---|---|---|---|
| path:123 | desc | HIGH | what done |
| 文件:行号 | 问题 | 严重程度 | 已应用的修复 |
|---|---|---|---|
| path:123 | 描述 | HIGH | 处理内容 |
| File:Line | Issue | Reason |
|---|
undefined| 文件:行号 | 问题 | 原因 |
|---|
undefined| Category | Examples |
|---|---|
| Type Safety | Missing null checks, unsafe type assertions |
| Error Handling | Swallowed errors, missing boundaries |
| Validation | Permissive inputs, missing sanitization |
| Config | Missing env vars, incorrect paths |
| 类别 | 示例 |
|---|---|
| 类型安全 | 缺失空值检查、不安全的类型断言 |
| 错误处理 | 被吞掉的错误、缺失边界处理 |
| 验证 | 宽松的输入、缺失数据清理 |
| 配置 | 缺失环境变量、路径错误 |