GH CLI for large Classroom Assignment 500 Server Error
まだ誰も着手していません。
評価
調査の方向性
まず、大規模な classroom に対して gh classroom clone student-repos -a <no> --page 1 --per-page 1 を実行して再現し、失敗している accepted_assignments API リクエストを調査します。小規模な classroom と比較し、関連付けられた過去の issue と議論を確認します。完了とは、大規模な assignment に HTTP 500 なしでアクセスできるようになるか、制限が明確に特定されることを意味します。
索引モデルが 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 ·
-
Sanitize Team name オープン
難易度 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 件 ·