github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.34k stars 570 forks source link

"Repository not found" message randomly appears. #2537

Open ToddSproull-WUSTL opened 4 years ago

ToddSproull-WUSTL commented 4 years ago

Describe the bug I am receiving a "Repository not found" message where I would click to "View repository" in the Assignments sections for some of my students. If I reload the page some of the "Repository not found" messages turn to "View repository" (but not all of them)

To Reproduce Steps to reproduce the behavior: 1.Go to : https://classroom.github.com/classrooms/59711801-cse330-spring-2020/assignments/module1?query=&sort_by=Student%20identifier

  1. Identify an ID with "Repository not found", reload the page and it will often times change to "Repository not found". Alternatively, identify a student with a "View repository" button, reload the page and it might change to "Repository not found"

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. Notice in image "a.png" repo 442695 is not found, after reloading the page, as shown in image b, 442695 is now available and viewable.

a b

Additional context Add any other context about the problem here.

d12 commented 4 years ago

cc @education/classroom-reviewers , some debugging needed here

NuttKatyISD commented 4 years ago

Came here to post about the same thing. Seeing it randomly switch between linking to the repo and showing not available when I refresh.

And I've checked that all the repositories exist and both I (teacher) and the students have access.

NuttKatyISD commented 4 years ago

Noticed today that this also seems to be affecting Classroom Assistant, or at least there's a similar issue. Tried to download a group of submissions and several listed "Clone Error: an error has occurred"

NuttKatyISD commented 4 years ago

Any chance this might be related to #2558 and education/classroom-assistant#166 ?

Both of those seemed to clear up after your tweak to the data structures class I listed in #2558 , but were still showing up on my other classes. I went it to the other classes and removed all admins except me and now they appear to be working fine. No more "Repository not Found" buttons and downloading is working in classroom assistant.