github / github/gh-classroom

GH CLI for large Classroom Assignment 500 Server Error

Aperta
#72 23 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
125
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo `gh classroom clone student-repos -a --page 1 --per-page 1` su una classroom grande e ispeziona la richiesta API `accepted_assignments` che fallisce. Confrontala con una classroom più piccola e rivedi le issue precedenti collegate e la discussione; il lavoro sarà considerato completato quando sarà possibile accedere alla assignment grande senza l'HTTP 500 oppure la limitazione sarà stata identificata chiaramente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, go
Ambito
api, cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
32/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.