Loading...
Loading...
Compare original and translation side by side
gh pr view --json number -q .numbergh pr view --json number -q .numbergh pr view <PR_NUMBER> --json title,body,state,reviews,comments,headRefName,statusCheckRollup
gh api repos/{owner}/{repo}/pulls/<PR_NUMBER>/commentsgh pr view <PR_NUMBER> --json title,body,state,reviews,comments,headRefName,statusCheckRollup
gh api repos/{owner}/{repo}/pulls/<PR_NUMBER>/commentsPENDINGIN_PROGRESSPENDINGIN_PROGRESSgreptile-apps[bot]greptile-apps[bot]| Category | Meaning |
|---|---|
| Actionable | Code changes, test improvements, or fixes needed |
| Informational | Verification notes, questions, or FYIs that don't require changes |
| Already addressed | Issues that appear to be resolved by subsequent commits |
| 分类 | 含义 |
|---|---|
| 可操作类 | 需要修改代码、改进测试或进行修复 |
| 信息类 | 验证说明、疑问或仅供参考的内容,无需修改 |
| 已处理 | 后续提交似乎已解决的问题 |
| Area | Issue | Status | Action Needed |
|---|---|---|---|
| Status Checks | CI build failing | Failing | Fix type error in |
| Review | "Add null check" — @reviewer | Actionable | Add guard clause |
| Description | TODO placeholder in test plan | Actionable | Fill in test plan |
| Review | "Looks good" — @teammate | Informational | None |
| 领域 | 问题 | 状态 | 所需操作 |
|---|---|---|---|
| 状态检查 | CI构建失败 | 失败 | 修复 |
| 评审 | "添加空值检查" — @评审者 | 可操作 | 添加保护子句 |
| 描述 | 测试计划中存在TODO占位符 | 可操作 | 完善测试计划 |
| 评审 | "看起来不错" — @团队成员 | 信息类 | 无 |
gh api graphql -f query='
query($cursor: String) {
repository(owner: "OWNER", name: "REPO") {
pullRequest(number: PR_NUMBER) {
reviewThreads(first: 100, after: $cursor) {
pageInfo { hasNextPage endCursor }
nodes {
id
isResolved
comments(first: 1) {
nodes { body path }
}
}
}
}
}
}'hasNextPage-f cursor=ENDCURSORgh api graphql -f query='
mutation {
resolveReviewThread(input: {threadId: "THREAD_ID"}) {
thread { isResolved }
}
}'t1t2gh api graphql -f query='
query($cursor: String) {
repository(owner: "OWNER", name: "REPO") {
pullRequest(number: PR_NUMBER) {
reviewThreads(first: 100, after: $cursor) {
pageInfo { hasNextPage endCursor }
nodes {
id
isResolved
comments(first: 1) {
nodes { body path }
}
}
}
}
}
}'hasNextPage-f cursor=ENDCURSORgh api graphql -f query='
mutation {
resolveReviewThread(input: {threadId: "THREAD_ID"}) {
thread { isResolved }
}
}'t1t2