GH CLI for large Classroom Assignment 500 Server Error
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 32/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện gh classroom clone student-repos -a <no> --page 1 --per-page 1 trên một classroom lớn và kiểm tra yêu cầu API accepted_assignments bị lỗi. So sánh với một classroom nhỏ hơn và xem lại các issue trước đó được liên kết cùng phần thảo luận; được xem là hoàn tất khi assignment lớn có thể được truy cập mà không gặp HTTP 500 hoặc khi giới hạn đã được xác định rõ ràng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 126
- Fork
- 21
- Merge trung bình
- 25 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-telemetry/opentelemetry-go-compile-instrumentation#1467 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug: a request sent before initialize is answered with JSON-RPC error code 0 instead of -32600Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
modelcontextprotocol/go-sdk#1367 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Python 3.15 supportCó thể đã có người làm @amnesiaof đã nhận hôm nay. Đang mởL: python L: python:uv
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dependabot/dependabot-core#16524 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
duplication
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openvibely/openvibely#1443 ·
Maintainer thường phản hồi trong vòng 2 ngày