GH CLI for large Classroom Assignment 500 Server Error
- Dominant language
- Go
- Stars
- 125
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have previously raised a ticket with GitHub support: [Ticket 2847591](https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.github.com%2Fticket%2F2847591&data=05%7C02%7Ctimothy.wiley%40rmit.edu.au%7C92c9a0755af548935c6008dc90b33cc3%7Cd1323671cdbe4417b4d4bdb24b51316b%7C0%7C0%7C638544346714872878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=tMAZqFkFZn8H8kgw3U%2Fi3n0jhFUeTXB9XTRXUIbHgdg%3D&reserved=0) 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.
Contributor guide
Assessment
This issue has not been assessed yet.