Github CLI for getting changed file list is buggy
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- github, github-actions, typescript
- 领域
- ci-cd
调研方向
该 issue 指出了 GitHub CLI 的已更改文件获取问题,并链接到 CLI issue #10712;首先跟踪 action 的已更改文件列表入口,并使用 diff 超过 20,000 行的 pull request 重现 406 情况。完成标准是:对于该情况,action 能够获取文件列表,而不依赖失败的 diff 响应,并为此次回归提供覆盖测试。
由索引模型根据 Issue 内容生成。
描述
TL;DR
Currently we are using github cli for getting the changed files list and it has a issue which throws 406 if changes are more than 20k lines but files are less.
could not find pull request diff: HTTP 406: Sorry, the diff exceeded the maximum number of lines (20000) (https://api.github.com/repos/org/repo/pulls/714)
PullRequest.diff too_large
The number of file changes in this PR is 150 only, should explore some other solution for getting file change list.
Expected behavior
No response
Observed behavior
No response
Action YAML
-
Log output
Additional information
No response
- 主要语言
- TypeScript
- 星标
- 2.1k
- 派生
- 288
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google-github-actions/run-gemini-cli 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
Security: fixed EOF heredoc delimiter in action.yml enables step output injection可能已有人在做 @fg0x0 于 130 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 78/100
-
Pin transitive actions auth@v3 and upload-artifact@v6 to commit SHAs可能已有人在做 @zerone0x 于 161 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
查看 google-github-actions/run-gemini-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
agilepathway/label-checker#739 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
CopilotKit/OpenBot#800 ·
维护者通常 1 天内回复
-
Endpoint links in the tag operations list are below the 24px target size可能已有人在做 @AdzerKI 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复