Replies: 1 comment 5 replies
|
Classroom 50 currently creates four teams for each classroom:
If you are still a member of teams 1 through 3, please remove yourself from them. For the score collection script, we currently configure it to run nightly by default. However, that is probably not the desired behavior, so we may change it to run on demand instead. Classroom 50 itself does not trigger nightly score collection; the nightly runs are caused by a cron job defined in the workflow. As for the warnings you are seeing, they are most likely caused by assignment repositories that were not created. As a result, the script failed when trying to grant the -ta and -hta teams access to those repositories. Currently, we create the TA and head TA teams regardless of whether a course actually has TAs or head TAs. There may be room for improvement by creating those teams only when needed. For now, we want to keep things simple by always pre-creating the staff teams and granting them permissions, even if they have zero members. Regarding the service token error, have you tried setting a new token to see whether the same 403 errors occur again? |
Uh oh!
There was an error while loading. Please reload this page.
When setting up my classroom, I checked out every repo and solved it myself to verify the autograders work. Now the semester is about to start. I often like to show students the process of checking out a fresh repo and point out some important information in the original, unmodified code, so I did what I used to do in GitHub Classroom: I deleted my previous repos. This seems to work fine, and now when I click the assignment link, Classroom50 offers to let me accept the assignment anew rather than go to my old repo.
So far, so good.
However, ever since I mass deleted repos, I get an email from Classroom50 every night around 11:30pm titled "Run failed: Collect Scores - main" that says "Collect Scores: All jobs have failed". Also, on top of this, I've begun inviting students to my class. I also tried deleting some information about my previous submissions in the classroom50 repo in hopes of stopping the grading attempts, which might have partially worked. However, at this point, so many things have changed that I'm not sure what the cause is, or if multiple issues are related. I just know that when I "View workflow run" and look at "Collect scores" I see various types of errors and warnings. Here are some examples, with student account names replaced with phony ones for anonymity:
Warning: su-schrum-classes/computer-organization-fall-2026-cop1-fastmultiplication-schrum2: could not grant 'classroom50-computer-organization-fall-2026-ta' pull: HTTP 404 (Not Found); skipping
Warning: su-schrum-classes/computer-organization-fall-2026-cop1-fastmultiplication-student: could not grant 'classroom50-computer-organization-fall-2026-ta' pull: HTTP 404 (Not Found); skipping
...
Warning: su-schrum-classes/computer-organization-fall-2026-cop2-binarysearch-schrum2: could not grant 'classroom50-computer-organization-fall-2026-ta' pull: HTTP 404 (Not Found); skipping
Warning: su-schrum-classes/computer-organization-fall-2026-cop2-binarysearch-student: could not grant 'classroom50-computer-organization-fall-2026-ta' pull: HTTP 404 (Not Found); skipping
...
and so on for every assignment and every student in the class computer-organization-fall-2026
...
Error: computer-organization-fall-2026: staff-team access grant failed with HTTP 403 (Forbidden) — grant staff teams repo access needs a fine-grained PAT with Repository -> Administration: Read and write; run
gh teacher rotate-service-token su-schrum-classes. Score collection continues; TAs may not see student repos until this is fixed....
Warning: su-schrum-classes/programming-languages-fall-2026-crashcourse-java-student: could not grant 'classroom50-programming-languages-fall-2026-ta' pull: HTTP 404 (Not Found); skipping
Error: programming-languages-fall-2026: staff-team access grant failed with HTTP 403 (Forbidden) — grant staff teams repo access needs a fine-grained PAT with Repository -> Administration: Read and write; run
gh teacher rotate-service-token su-schrum-classes. Score collection continues; TAs may not see student repos until this is fixed.Warning: programming-languages-fall-2026: collected 0 submissions across 25 assignment(s). If you expected submissions, either the classroom team has no members yet, or the CLASSROOM50_SERVICE_TOKEN lacks read access to the student repos (a fine-grained PAT returns 404 for repos outside its scope, which is indistinguishable from "not submitted"). Re-scope it to all org repos: gh teacher rotate-service-token su-schrum-classes
Error: collect: 2 classroom(s) had a failure (staff-team grant and/or scores write): computer-organization-fall-2026, programming-languages-fall-2026. Score collection ran for every classroom; a grant-only failure means TAs may not yet have access.
Some clarifications about the errors/warnings above:
Question: Does Classroom50 always try to regrade everything every night even if there have been no changes in repo status?
All reactions