Skip to content

Commit 61666ac

Browse files
chore: sync public mirror from internal (#1295)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent fd774e7 commit 61666ac

4 files changed

Lines changed: 1629 additions & 27 deletions

File tree

‎.repository-projection.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"projection": "deixic-code",
44
"projectionSchemaVersion": 1,
55
"sourceRepository": "dx-corp/mono",
6-
"sourceSha": "60419c45bebb8cd7edc555c1384b249aa3d27df4",
6+
"sourceSha": "aad70dca9153ee14f58ad83743851edf3756e515",
77
"destinationRepository": "dx-corp/code",
8-
"priorProjectedBase": "ead62c78a1e6094c02f4ae61ebff1714d4965e2f",
8+
"priorProjectedBase": "fd774e71a9294482c95af94611c6dd458df46640",
99
"definitionDigest": "82936441c776e3e8edb5d215a75007ec9714a233f489d460075d79d5ef5ba32f",
1010
"toolDigest": "ab19140af8e449c04288cb7c52e992982833e3882ddce59d22314d971feaf946",
11-
"contentDigest": "bf5843be1ca2cd2fa79d378c1b3ae7f7d9879de8d559bb90545a0beaaccc9ddf",
11+
"contentDigest": "cb9bcb8eeb4b7107c0dbf55cedd0d8ad81db6ad3edc8ff3c2c53587d62015449",
1212
"publicationEligible": true
1313
}

‎docs/TOOLS_REFERENCE.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,16 @@ error distinctions.
7272

7373
| Tool | Description | Actions / Options |
7474
| ---- | ----------- | ----------------- |
75-
| `gh_pr` | Pull request operations | **Actions:** `create`, `checkout`, `view`, `list`, `comment`<br>**Options:** `number`, `title`, `body`, `branch`, `base`, `draft`, `state`, `author`, `limit`, `json` |
75+
| `gh_pr` | Pull request operations | **Actions:** `create`, `checkout`, `view`, `list`, `comment`, `checks`, `diff`, `review_threads`, `reply_review_thread`, `resolve_review_thread`, `checks_watch`<br>**Options:** `number`, `title`, `body`, `branch`, `base`, `draft`, `state`, `author`, `limit`, `json`, `nameOnly`, `threadId`, `includeResolved`, `timeoutSecs` |
7676
| `gh_issue` | Issue operations | **Actions:** `create`, `view`, `list`, `comment`, `close`<br>**Options:** `number`, `title`, `body`, `labels`, `state`, `author`, `limit`, `json` |
7777
| `gh_repo` | Repository operations | **Actions:** `view`, `fork`, `clone`<br>**Options:** `repository`, `directory`, `json` |
7878

79+
**Review and CI loop (`gh_pr`):**
80+
- `review_threads` (`number`, optional `includeResolved`) -- lists unresolved review threads via GraphQL (`gh api graphql`), each with `path`, `line`, `isResolved`, `isOutdated`, the thread's GraphQL `id`, and its comments (author, body, `createdAt`), plus top-level review summaries (state + body). Output is bounded: comment/review bodies and the thread/review counts are capped and marked `truncated` when a PR has more than fits.
81+
- `reply_review_thread` (`threadId`, `body`) -- replies inline to a thread returned by `review_threads` (GraphQL `addPullRequestReviewThreadReply`).
82+
- `resolve_review_thread` (`threadId`) -- marks a thread resolved (GraphQL `resolveReviewThread`) once it's actually been addressed.
83+
- `checks_watch` (`number`, optional `timeoutSecs`, default 900s / max 3600s) -- polls CI every 30s until every check is `completed` or the timeout elapses, instead of a single `checks` snapshot. Returns a per-check summary and, for failed checks, up to 3 jobs' worth of failure-log tail (`gh run view --log-failed`, capped to 200 lines / 16KiB each).
84+
7985
**Prerequisites:**
8086
- GitHub CLI (`gh`) must be installed: `brew install gh` (macOS) or see [cli.github.com](https://cli.github.com)
8187
- Must be authenticated: `gh auth login`

0 commit comments

Comments
 (0)