@deepseek-ai/dsh-experimental-forge-github 0.0.0-stage → 0.2.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.i18n.yaml +37 -0
- package/README.md +104 -2
- package/README.zh.md +105 -0
- package/lib/index.js +813 -0
- package/lib/types/gh.d.ts +43 -0
- package/lib/types/graphql.d.ts +45 -0
- package/lib/types/index.d.ts +19 -0
- package/lib/types/provider.d.ts +49 -0
- package/lib/types/urls.d.ts +44 -0
- package/locale/de.json +6 -0
- package/locale/en.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +44 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DeepSeek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.i18n.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/experimental/forge-github/README.md
|
|
5
|
+
/:
|
|
6
|
+
en: aa10564436254cf3
|
|
7
|
+
zh: 879324735db16250
|
|
8
|
+
/deepseek-ai-dsh-experimental-forge-github:
|
|
9
|
+
en: 1c2533aa62dd459c
|
|
10
|
+
zh: 3d26837df2bbf525
|
|
11
|
+
/deepseek-ai-dsh-experimental-forge-github/summary:
|
|
12
|
+
en: 0d849f74aad525c4
|
|
13
|
+
zh: f16262134132b354
|
|
14
|
+
/deepseek-ai-dsh-experimental-forge-github/table-of-contents:
|
|
15
|
+
en: d152484eb41ac6b4
|
|
16
|
+
zh: 2f8a621b991260a1
|
|
17
|
+
/deepseek-ai-dsh-experimental-forge-github/use-this-package:
|
|
18
|
+
en: ed1eb18704c54406
|
|
19
|
+
zh: 717c303b2d9d7244
|
|
20
|
+
/deepseek-ai-dsh-experimental-forge-github/understand-the-implementation:
|
|
21
|
+
en: 194951c8b5093f7d
|
|
22
|
+
zh: 9c5ffaa9e531bd1f
|
|
23
|
+
/deepseek-ai-dsh-experimental-forge-github/further-exploration:
|
|
24
|
+
en: d377d5fd9d9f190e
|
|
25
|
+
zh: 920bcbfdb8c993f2
|
|
26
|
+
/deepseek-ai-dsh-experimental-forge-github/model-experience:
|
|
27
|
+
en: 86d0ff768e7d9f5c
|
|
28
|
+
zh: b11b849ac4559df3
|
|
29
|
+
/deepseek-ai-dsh-experimental-forge-github/model-experience/kv-cache-effect:
|
|
30
|
+
en: 26b946af4b742e17
|
|
31
|
+
zh: 00b34f0721ac72f6
|
|
32
|
+
/deepseek-ai-dsh-experimental-forge-github/known-limitations-and-deferred-work:
|
|
33
|
+
en: 14408605565310b8
|
|
34
|
+
zh: 750c163b9af160ce
|
|
35
|
+
/deepseek-ai-dsh-experimental-forge-github/known-limitations-and-deferred-work/dev-note:
|
|
36
|
+
en: e67f633dc6fe7773
|
|
37
|
+
zh: 3bb0c20c93f16f98
|
package/README.md
CHANGED
|
@@ -1,3 +1,105 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
description: "Serve the experimental forge registry for GitHub hosts through the GitHub CLI on the host."
|
|
3
|
+
kind: "package-reference"
|
|
4
|
+
---
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
# @deepseek-ai/dsh-experimental-forge-github
|
|
7
|
+
|
|
8
|
+
English | [中文](README.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
Read GitHub and GitHub Enterprise pull requests for `ctx.forge` with the GitHub CLI that is already signed in on the host. One GraphQL query per host and poll reads state, changed lines, checks, review decision, mergeability, and unresolved review threads for every due pull request.
|
|
13
|
+
|
|
14
|
+
## Table of Contents
|
|
15
|
+
|
|
16
|
+
- [Use this package](#use-this-package)
|
|
17
|
+
- [Understand the implementation](#understand-the-implementation)
|
|
18
|
+
- [Further Exploration](#further-exploration)
|
|
19
|
+
- [Model Experience](#model-experience)
|
|
20
|
+
- [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
|
|
21
|
+
- [Dev Note](#dev-note)
|
|
22
|
+
|
|
23
|
+
-----
|
|
24
|
+
|
|
25
|
+
<a id="use-this-package"></a>
|
|
26
|
+
## Use this package
|
|
27
|
+
|
|
28
|
+
Mount the provider after the forge registry and list every GitHub Enterprise host explicitly.
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
- name: '@deepseek-ai/dsh-experimental-forge'
|
|
32
|
+
- name: '@deepseek-ai/dsh-experimental-forge-github'
|
|
33
|
+
config:
|
|
34
|
+
hosts: [github.com, ghe.example.com]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The provider runs `gh` as a host process, even when Sessions execute commands in another execution world. Sign in once per host with `gh auth login --hostname <host>`. The child receives the host environment without `DSH_*` variables and without variables whose names contain `KEY`, `PASSWORD`, `SECRET`, or `TOKEN`, so `GH_TOKEN` and `GITHUB_TOKEN` are not forwarded and `gh` uses its own credential store. Prompts, update notices, pagers, and colors are disabled. `maxOutputBytes` must be a positive safe integer; only `timeoutMs` is bounded by the runtime timer limit. `ghCommand`, `hosts`, `timeoutMs`, and `maxOutputBytes` are listed in the [configuration catalog](../../../docs/config-catalog.md#deepseek-aidsh-experimental-forge-github).
|
|
38
|
+
|
|
39
|
+
The provider serves a remote URL in `https`, `http`, `ssh`, or `git` form, or in scp form such as `git@github.com:owner/name.git`, when its host is configured. HTTP(S) remotes retain custom ports in the host identity; SSH and Git transport ports are excluded. It serves pull request URLs of the form `https://<host>/<owner>/<name>/pull/<number>` with any trailing path, query, or fragment, and builds that form without the suffix as the canonical URL. A readiness probe runs `gh auth status --hostname <host>`: exit status 0 is `ready`, another exit status is `unauthenticated` with the first diagnostic line, and a `gh` that cannot start is `unavailable`. A head lookup returns up to 20 open pull requests whose head is the branch, newest first, excluding pull requests from forks; a lookup of the default branch returns none.
|
|
40
|
+
|
|
41
|
+
Check runs map to `pending` until completed, then to `success`, `failure` (failure, timed out, startup failure, or action required), `cancelled`, `skipped`, or `neutral`. Check runs keep their start and completion times. Commit status contexts map `SUCCESS` to `success`, `FAILURE` and `ERROR` to `failure`, and every other state to `pending`, and carry no times. A GraphQL `NOT_FOUND` error becomes a `not-found` failure. A response without GraphQL data or errors, including an HTTP error JSON body, uses the first stderr diagnostic or the body's message. Authentication diagnostics become `unauthenticated`; rate limits and other failures become `unavailable`. Head lookups preserve the same diagnostic in their rejection.
|
|
42
|
+
|
|
43
|
+
A pull request is `mergeReady` when it is open, not a draft, GitHub reports its merge state as `CLEAN`, `HAS_HOOKS`, or `UNSTABLE`, and the signed-in user has write, maintain, or admin permission. `mergeMethods` lists the squash, merge-commit, and rebase methods the repository allows, the user's default merge method first. Marking ready runs `gh pr ready <number> --repo <host>/<owner>/<name>`. Merging calls `PUT repos/<owner>/<name>/pulls/<number>/merge` through `gh api` with the method and the expected head SHA, so GitHub refuses once new commits arrived, which is reported as `stale`. Unlike `gh pr merge`, it never enables auto-merge, never joins a merge queue, and never deletes the head branch. A refused action reports GitHub's message, and a diagnostic that mentions authentication becomes `unauthenticated`.
|
|
44
|
+
|
|
45
|
+
`diff` runs `gh pr diff <number> --repo <host>/<owner>/<name> --color never`. `fileText` reads `repos/<owner>/<name>/contents/<path>?ref=<commit>` through `gh api` with the raw media type and accepts only a full 40- or 64-digit hexadecimal commit. `fileUrl` returns `https://<host>/<owner>/<name>/blob/<commit>/<path>`. Both paths percent-encode each segment. A refused read becomes `not-found` for HTTP 404, `unauthenticated` for a diagnostic that mentions authentication, `too-large` for GitHub's `too_large` error, which a diff over its own size limit draws, and `unavailable` otherwise, with GitHub's message. A read whose output exceeds `maxOutputBytes` becomes `too-large`, and one that outlives `timeoutMs` becomes `unavailable`.
|
|
46
|
+
|
|
47
|
+
-----
|
|
48
|
+
|
|
49
|
+
<a id="understand-the-implementation"></a>
|
|
50
|
+
## Understand the implementation
|
|
51
|
+
|
|
52
|
+
<details>
|
|
53
|
+
<summary>Implementation internals — click to expand</summary>
|
|
54
|
+
|
|
55
|
+
A fetch groups references by host and sends one `gh api graphql` query per host. The query inlines validated owner, name, and number values and gives each pull request an alias, so partial GraphQL errors fail only their own aliases. `gh` exits nonzero on partial errors but still prints the complete response, which the provider parses before it inspects the exit code.
|
|
56
|
+
|
|
57
|
+
| Source | Responsibility |
|
|
58
|
+
|---|---|
|
|
59
|
+
| [`src/index.ts`](src/index.ts) | Configuration validation and provider registration |
|
|
60
|
+
| [`src/provider.ts`](src/provider.ts) | URL mapping, host grouping, and failure classification |
|
|
61
|
+
| [`src/graphql.ts`](src/graphql.ts) | Query construction and response validation and mapping |
|
|
62
|
+
| [`src/gh.ts`](src/gh.ts) | Host `gh` execution with environment scrubbing and limits |
|
|
63
|
+
| [`src/urls.ts`](src/urls.ts) | Remote URL and pull request URL parsing |
|
|
64
|
+
|
|
65
|
+
</details>
|
|
66
|
+
|
|
67
|
+
-----
|
|
68
|
+
|
|
69
|
+
<a id="further-exploration"></a>
|
|
70
|
+
## Further Exploration
|
|
71
|
+
|
|
72
|
+
- [Forge registry](../forge/README.md) — provider registration and shared polling.
|
|
73
|
+
- [Forge subsystem](../../../docs/subsystems/forge.md) — provider contract and change request types.
|
|
74
|
+
- [Subprocess environment](../../subprocess/subprocess/README.md) — the shared environment scrub.
|
|
75
|
+
|
|
76
|
+
-----
|
|
77
|
+
|
|
78
|
+
<a id="model-experience"></a>
|
|
79
|
+
## Model Experience
|
|
80
|
+
|
|
81
|
+
None, as the provider reads pull request status for host-side watchers without contributing model context.
|
|
82
|
+
|
|
83
|
+
#### KV Cache effect
|
|
84
|
+
|
|
85
|
+
None. Provider output reaches only host-side watchers.
|
|
86
|
+
|
|
87
|
+
## Known Limitations and Deferred Work
|
|
88
|
+
|
|
89
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
90
|
+
|
|
91
|
+
- **GitHub CLI on the host** — `gh` must be installed and signed in for each configured host; tokens in environment variables are not forwarded. Hosts missing from `hosts` are never read, including references retained across configuration changes. A status fetch returns `unavailable` for those references; a head lookup rejects before starting `gh`.
|
|
92
|
+
- **First 100 checks and review threads** — `checksTruncated` marks a head commit with more checks; unresolved threads after the first 100 are not counted.
|
|
93
|
+
- **No fork discovery** — head lookups exclude pull requests whose head is in another repository.
|
|
94
|
+
- **Rate limits** — every poll costs one GraphQL query per host against the signed-in account's rate limit.
|
|
95
|
+
- **No merge queue** — a base branch that requires a merge queue refuses a direct merge, and the provider never queues one.
|
|
96
|
+
|
|
97
|
+
<a id="dev-note"></a>
|
|
98
|
+
### Dev Note
|
|
99
|
+
|
|
100
|
+
<details>
|
|
101
|
+
<summary>Working context for maintainers — click to expand</summary>
|
|
102
|
+
|
|
103
|
+
None.
|
|
104
|
+
|
|
105
|
+
</details>
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "通过宿主上的 GitHub CLI 为实验性 forge 注册表服务 GitHub 主机。"
|
|
3
|
+
kind: "package-reference"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @deepseek-ai/dsh-experimental-forge-github
|
|
7
|
+
|
|
8
|
+
[English](README.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
借助宿主上已登录的 GitHub CLI,为 `ctx.forge` 读取 GitHub 与 GitHub Enterprise 的 pull request。每次轮询对每个主机只发一个 GraphQL 查询,读取所有到期 pull request 的状态、改动行数、检查、评审结论、可合并性与未解决的评审讨论。
|
|
13
|
+
|
|
14
|
+
## 目录
|
|
15
|
+
|
|
16
|
+
- [使用本包](#use-this-package)
|
|
17
|
+
- [了解实现](#understand-the-implementation)
|
|
18
|
+
- [深入探索](#further-exploration)
|
|
19
|
+
- [模型体验](#model-experience)
|
|
20
|
+
- [已知限制与待办工作](#known-limitations-and-deferred-work)
|
|
21
|
+
- [开发备注](#dev-note)
|
|
22
|
+
|
|
23
|
+
-----
|
|
24
|
+
|
|
25
|
+
<a id="use-this-package"></a>
|
|
26
|
+
## 使用本包
|
|
27
|
+
|
|
28
|
+
在 forge 注册表之后挂载提供方,并显式列出每个 GitHub Enterprise 主机。
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
- name: '@deepseek-ai/dsh-experimental-forge'
|
|
32
|
+
- name: '@deepseek-ai/dsh-experimental-forge-github'
|
|
33
|
+
config:
|
|
34
|
+
hosts: [github.com, ghe.example.com]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
即使 Session 在其他执行环境中运行命令,提供方也以宿主进程的形式运行 `gh`。每个主机执行一次 `gh auth login --hostname <host>` 完成登录。子进程继承的宿主环境去掉了 `DSH_*` 变量以及名称包含 `KEY`、`PASSWORD`、`SECRET` 或 `TOKEN` 的变量,因此 `GH_TOKEN` 与 `GITHUB_TOKEN` 不会被转发,`gh` 使用自己的凭据存储。交互提示、更新提醒、分页器与颜色输出均被关闭。`maxOutputBytes` 必须是正安全整数;只有 `timeoutMs` 受运行时定时器上限约束。`ghCommand`、`hosts`、`timeoutMs` 与 `maxOutputBytes` 见[配置目录](../../../docs/config-catalog.zh.md#deepseek-aidsh-experimental-forge-github)。
|
|
38
|
+
|
|
39
|
+
当主机在配置中时,提供方服务 `https`、`http`、`ssh`、`git` 形式的远端 URL,以及 `git@github.com:owner/name.git` 这类 scp 形式。HTTP(S) 远端在主机标识中保留自定义端口;SSH 和 Git 传输端口不计入主机标识。它服务 `https://<host>/<owner>/<name>/pull/<number>` 形式的 pull request URL,允许其后附带任意路径、查询或片段,并以去掉这些后缀的形式作为规范 URL。就绪探测运行 `gh auth status --hostname <host>`:退出码为 0 时为 `ready`,其他退出码为 `unauthenticated` 并带第一行诊断,`gh` 无法启动时为 `unavailable`。按 head 分支查找时,最多返回 20 个以该分支为 head 的打开状态 pull request,按创建时间从新到旧排列,不包含来自 fork 的 pull request;查找默认分支时返回空结果。
|
|
40
|
+
|
|
41
|
+
检查运行(check run)在完成前映射为 `pending`,完成后映射为 `success`、`failure`(失败、超时、启动失败或需要操作)、`cancelled`、`skipped` 或 `neutral`。检查运行保留其开始与完成时间。提交状态上下文把 `SUCCESS` 映射为 `success`,把 `FAILURE` 与 `ERROR` 映射为 `failure`,其余状态均映射为 `pending`,且不带时间。GraphQL 的 `NOT_FOUND` 错误转为 `not-found` 失败。响应不含 GraphQL data 或 errors 时(包括 HTTP 错误 JSON),使用 stderr 的首条诊断或响应体的 message。认证诊断转为 `unauthenticated`;限流与其他失败转为 `unavailable`。head 查找在拒绝时保留相同诊断。
|
|
42
|
+
|
|
43
|
+
pull request 处于打开状态、不是草稿、GitHub 报告其合并状态为 `CLEAN`、`HAS_HOOKS` 或 `UNSTABLE`,且已登录用户具有 write、maintain 或 admin 权限时,`mergeReady` 为真。`mergeMethods` 列出仓库允许的压缩合并、合并提交与变基合并方式,用户默认的合并方式排在最前。标记为可评审运行 `gh pr ready <number> --repo <host>/<owner>/<name>`。合并经 `gh api` 调用 `PUT repos/<owner>/<name>/pulls/<number>/merge`,带上合并方式与预期的 head SHA,因此有新提交到达后 GitHub 会拒绝,报告为 `stale`。与 `gh pr merge` 不同,它从不启用自动合并、从不加入合并队列,也从不删除 head 分支。被拒绝的操作报告 GitHub 的原因,提到身份验证的诊断转为 `unauthenticated`。
|
|
44
|
+
|
|
45
|
+
`diff` 运行 `gh pr diff <number> --repo <host>/<owner>/<name> --color never`。`fileText` 经 `gh api` 以 raw 媒体类型读取 `repos/<owner>/<name>/contents/<path>?ref=<commit>`,只接受完整的 40 位或 64 位十六进制提交。`fileUrl` 返回 `https://<host>/<owner>/<name>/blob/<commit>/<path>`。两者的路径都逐段做百分号编码。被拒绝的读取在 HTTP 404 时为 `not-found`,诊断提到身份验证时为 `unauthenticated`,GitHub 报告 `too_large` 错误时(diff 超过其自身大小上限即会如此)为 `too-large`,其余为 `unavailable`,并带有 GitHub 的原因。输出超过 `maxOutputBytes` 的读取为 `too-large`,超过 `timeoutMs` 的为 `unavailable`。
|
|
46
|
+
|
|
47
|
+
-----
|
|
48
|
+
|
|
49
|
+
<a id="understand-the-implementation"></a>
|
|
50
|
+
## 了解实现
|
|
51
|
+
|
|
52
|
+
<details>
|
|
53
|
+
<summary>实现细节——点击展开</summary>
|
|
54
|
+
|
|
55
|
+
一次读取按主机对引用分组,每个主机发送一个 `gh api graphql` 查询。查询内联经过校验的 owner、name 与编号,并为每个 pull request 设置别名,因此局部 GraphQL 错误只影响对应的别名。出现局部错误时 `gh` 以非零状态退出,但仍会输出完整响应;提供方先解析该响应,再检查退出码。
|
|
56
|
+
|
|
57
|
+
| 源码 | 职责 |
|
|
58
|
+
|---|---|
|
|
59
|
+
| [`src/index.ts`](src/index.ts) | 配置校验与提供方注册 |
|
|
60
|
+
| [`src/provider.ts`](src/provider.ts) | URL 映射、按主机分组与失败分类 |
|
|
61
|
+
| [`src/graphql.ts`](src/graphql.ts) | 构造查询,并校验和映射响应 |
|
|
62
|
+
| [`src/gh.ts`](src/gh.ts) | 在宿主上执行 `gh`,清理环境变量并施加限制 |
|
|
63
|
+
| [`src/urls.ts`](src/urls.ts) | 解析远端 URL 与 pull request URL |
|
|
64
|
+
|
|
65
|
+
</details>
|
|
66
|
+
|
|
67
|
+
-----
|
|
68
|
+
|
|
69
|
+
<a id="further-exploration"></a>
|
|
70
|
+
## 深入探索
|
|
71
|
+
|
|
72
|
+
- [Forge 注册表](../forge/README.zh.md)——提供方注册与共享轮询。
|
|
73
|
+
- [Forge 子系统](../../../docs/subsystems/forge.zh.md)——提供方契约与变更请求类型。
|
|
74
|
+
- [子进程环境](../../subprocess/subprocess/README.zh.md)——共享的环境变量清理规则。
|
|
75
|
+
|
|
76
|
+
-----
|
|
77
|
+
|
|
78
|
+
<a id="model-experience"></a>
|
|
79
|
+
## 模型体验
|
|
80
|
+
|
|
81
|
+
无:提供方为宿主侧监听方读取 pull request 状态,不贡献模型上下文。
|
|
82
|
+
|
|
83
|
+
#### KV Cache 影响
|
|
84
|
+
|
|
85
|
+
无。提供方的输出只到达宿主侧监听方。
|
|
86
|
+
|
|
87
|
+
## 已知限制与待办工作
|
|
88
|
+
|
|
89
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
90
|
+
|
|
91
|
+
- **宿主需要 GitHub CLI**——必须安装 `gh` 并为每个已配置主机登录;环境变量中的令牌不会被转发。不在 `hosts` 中的主机永远不会被读取,包括配置变更后保留的引用。状态读取为这些引用返回 `unavailable`;head 查找会在启动 `gh` 前拒绝。
|
|
92
|
+
- **前 100 个检查与评审讨论**——head 提交的检查超过上限时以 `checksTruncated` 标记;前 100 个之后的未解决讨论不计入。
|
|
93
|
+
- **不发现 fork**——按 head 分支查找时,不包含 head 位于其他仓库的 pull request。
|
|
94
|
+
- **速率限制**——每次轮询都会以已登录账号的速率配额为每个主机消耗一次 GraphQL 查询。
|
|
95
|
+
- **不支持合并队列**——要求合并队列的基准分支会拒绝直接合并,提供方也不会把变更请求加入队列。
|
|
96
|
+
|
|
97
|
+
<a id="dev-note"></a>
|
|
98
|
+
### 开发备注
|
|
99
|
+
|
|
100
|
+
<details>
|
|
101
|
+
<summary>维护者的工作上下文——点击展开</summary>
|
|
102
|
+
|
|
103
|
+
无。
|
|
104
|
+
|
|
105
|
+
</details>
|