GH CLI for large Classroom Assignment 500 Server Error
还没有人认领这个 Issue。
评估
调研方向
首先,针对一个大型 classroom 复现 gh classroom clone student-repos -a <no> --page 1 --per-page 1,并检查失败的 accepted_assignments API 请求。将其与较小的 classroom 进行比较,并查看关联的以往 issue 和讨论;完成的标准是可以在不出现 HTTP 500 的情况下访问大型 assignment,或者明确识别出该限制。
由索引模型根据 Issue 内容生成。
描述
Hello,
I have previously raised a ticket with GitHub support: Ticket 2847591 who suggested I raise an issue here.
We are encountering an issue trying to use the GH Classroom CLI when trying to download repositories for a very large classroom and assignment. This issue appears similar to the following previous issues:
- https://github.com/orgs/community/discussions/67264
- https://github.com/github/gh-classroom/issues/38
The classroom we have has 1000 listed students, with 420 teams, and 335 currently "submitted" assignments. When attempting to access the repositories on the CLI tool gh classroom clone student-repos -a --page 1 --per-page 1 the resulting error occurs:
HTTP 500: Server Error (https://api.github.com/assignments/_no_/accepted_assignments?page=2&per_page=1)
Changing the page number and per-page value does not resolve the error.
We are able to access other smaller classrooms, so this appears to be an issue on the larger classroom.
For reference I am using the following versions:
- gh version 2.50.0 (2024-05-30)
- gh classroom github/gh-classroom v0.1.13
Assistance in this matter would be greatly appreciated.
- 主要语言
- Go
- 星标
- 126
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/gh-classroom 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
github/gh-classroom#95 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
github/gh-classroom#21 ·
-
难度 4/5 3-5 天 新手友好度 35/100
github/gh-classroom#116 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
github/gh-classroom#110 ·
-
难度 3/5 1-2 天 新手友好度 45/100
github/gh-classroom#109 ·
查看 github/gh-classroom 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 65/100
-
needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
googleapis/librarian#7670 · 2 条评论 ·