Autograder Skipped or Not Running #106545
-
Hi everyone,We're having an issue with the github classroom autograder not being triggered for student assignments. Here is the general order of what is happening:
I'm not sure why the autograder not running the first time a student submits their assignment or why I have to "update" the assignment to force it to run. Am I missing something in the set up with the assignment? |
Beta Was this translation helpful? Give feedback.
Replies: 27 comments 119 replies
-
Hi all, I'm having the same issue. Committing doesn't start the autograder at all. If I edit the assignment, make no edits, and click update assignment, the autograder workflow is pushed to the fork, but it doesn't run. If I check back later, it actually ran, but the test is skipped. If I try to rerun the job it skips again. Is this a temporary issue or am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
-
Hi @lmraine 👋 Thank you for bringing this to our attention. We've passed this along to our internal team to investigate and when we have any updates we'll update this thread. 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi @lmraine & everyone 👋 We are happy to say that there has been a fix deployed which includes amending all the existing assignments. You should not be required to do anything. If anyone else is still experiencing this please reply 👍 |
Beta Was this translation helpful? Give feedback.
-
I am still having the problem today with my class. They can edit the file but the autograder doesn't run at all. I tried it myself and didn't get it to work either. Clicking on Create A Pull Request will create a pull request to my template git repo instead of their private repo. This is very confusing |
Beta Was this translation helpful? Give feedback.
-
We still have this issue. Some student repos have the .github folder, while others do not. Please advise. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone! 👋 We are happy to share that a patch has been deployed addressing the bug affecting .github folders and essential files (autograding and classroom.yml) not automatically pulling to the student assignment forks upon creation (accepting the assignment). This patch does not update already existing forks, teachers may require to edit or update those to include autograding. All newly created forks since the patch should have autograding included and run as expected.
☝️ We are still working on this feature. We will post in this thread when we have an update 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi everyone! 👋 Thank you all for your feedback! We are happy to announce that we have deployed the feature that all newly created student repo forks will have workflows enabled by default requested by @mcknijak and other community members 🎉 cc/ @oliverosz We still have users experiencing intermittent issues with their .github folders not being transferred across to their students forks which the team are still investigating. But if you aren't affected by the lack of .github folder issue in student forks please let us know if you encounter any issues with the workflow being enabled by default update 👍 |
Beta Was this translation helpful? Give feedback.
-
Hey @samus-aran We're still experiencing the issue with the .github folder being created when students initially accept an assignment. It is working for some students but not for others. |
Beta Was this translation helpful? Give feedback.
-
i finally got tests to run (not get skipped) by removing the following line from .github/workflows/classroom.yml:
it seems a legit line, but it prevents tests from being run when tests are updated. |
Beta Was this translation helpful? Give feedback.
-
Hi @samus-aran, Could you please have a look at this post? I am sorry if I put it to a wrong section. Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
Hi everyone! 👋 Just to provide an update (I'll be marking this as an answer to make it more visible). The internal engineering team are still investigating the problem which we believe is an internal race condition. When we have an update we'll post here and re-mark the answer. Thank you all for your patience and continuing cooperation. We still would love for you to comment and share with the team the classname, and assignments that are experiencing this issue so we can review. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone again 🌞 We are happy to share that the engineering team have deployed an additional patch to address the bug affecting .github folders and essential files not being copied over as expected. Shipped Wednesday 13th March 🚢 This patch does not update already existing forks, teachers may require to edit or update those to include autograding. All newly created forks since the patch should have autograding included and run as expected. Please reply to this thread if you are still experiencing issues with missing .github folders when new student assignments are accepted (and creating new repos). 👍 cc/ @lmraine @breed @aaleta @oliverosz Thank you all for your patience and continuous feedback to help us identify a path forward. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I am having problems with the autograder. It seems it is not working correctly. A few weeks ago it was up and running correctly. Now I tried uploading the same solution on a different account and it doesn't work properly. Thank u. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, we have fixed the issue with the output not showing for tests. Please let me know if you still run into any issues with it. |
Beta Was this translation helpful? Give feedback.
-
Hi! https://github.com/booleancl/m05c01-terraform-cristobaldominguez/commits/main/ in this cases my workaround was go to assignment edit screen, press "update assignment" and then the folder is created. |
Beta Was this translation helpful? Give feedback.
-
This has not been fixed AFAICT: All my students are now seeing this error if they have started an assignment since the change pushed on March 13th. The issue is that the and this is what a repo looks like with properly functioning autograder tests, note that this folder was created two weeks ago on March 11th specifically: @samus-aran can classroom team please revert this broken change?? Otherwise it appears that the workaround will have to be manually adding the |
Beta Was this translation helpful? Give feedback.
-
Apart from the above issues, which still occurrs. The autograder also swallows all info now. The test result information from pytest in our case, information which we could see, is now never displayed by the autograder. It completely makes Github Classrooms unusable to us as the test information gave valuable hints to the students about what to fix. Can you please show this info again? Perhaps in its own folded section if you want it to be a "second class citizen"? |
Beta Was this translation helpful? Give feedback.
-
I had originally setup my Python unit tests using the run command and setup individual test cases to run via pytest with different point values per test. This would give students a way to gauge how successful they are with each test case and award partial credit. The new pytest runner seems to have taken over all my run commands and is now forcing all test cases to run every time even if I had originally specified a single test case to run. Is my only solution to really setup brand new test cases using the run_command using the same exact command as I originally had just to get my original setup back? In one class alone, I will have to update 126 test cases back to the run_command, so this is not appreciated mid semester. |
Beta Was this translation helpful? Give feedback.
-
Hey @samus-aran We've had some exams and spring break so I haven't had any new labs. However, I assigned one today, and it showed the student had 1 successful check but all the tests failed. When you click on the details, it shows 0/0 but the repo shows the student the green check mark and a successful check. |
Beta Was this translation helpful? Give feedback.
-
@samus-aran and @ashishkeshan Any updates on this issue? Or any workarounds? I tried to Update Assignment as suggested in previous threads but that did not work for me. |
Beta Was this translation helpful? Give feedback.
-
Hi, the autograder of my classroom is not working.... i create another assignment, more simple and still not working. My assignment : https://classroom.github.com/a/kV_RU2Lz Some days ago, i tested and it was running ok. |
Beta Was this translation helpful? Give feedback.
-
It doesn't seem to be working. I have a weekly assignment with the exact same configuration. The autograding worked fine on August 12, but it isn't working on Tuesday, the 19th. Tomorrow, I plan to do a manual review :-(. My only hypothesis is that it's a temporary issue, and the only temporal cause I can think of (aside from bugs introduced in updates) is that the available free autograding minutes have run out. However, I can't find any information to confirm if this is the problem |
Beta Was this translation helpful? Give feedback.
-
The Python auto-grader is working, again. But it is concerning that things quietly break and fix without much (any) communication to instructors. |
Beta Was this translation helpful? Give feedback.
-
Nothing seems to be working, again! Students are now getting a 500 Internal Server Error after accepting an assignment. |
Beta Was this translation helpful? Give feedback.
-
This is still not working fully. I have just set up a Github Classroom assignment. This doesn't use autograding, but the template repo does contain an action to be run when a repository is created. The workflow file is correctly copied into the student's repository, but Github doesn't recognise that there is a workflow there at all. When I go to the Actions tab, no workflows are shown at all. Students have to manually open the workflow's YML file, make an arbitrary edit, undo the edit, and commit the file to get Github to recognise the action. Then they have to manually run it, because it now wasn't present when the repository was created (as originally designed)... What are the plans for fixing this issue? It's truly messing up Github Classroom. |
Beta Was this translation helpful? Give feedback.
Hi everyone again 🌞
We are happy to share that the engineering team have deployed an additional patch to address the bug affecting .github folders and essential files not being copied over as expected. Shipped Wednesday 13th March 🚢
This patch does not update already existing forks, teachers may require to edit or update those to include autograding.
All newly created forks since the patch should have autograding included and run as expected.
Please reply to this thread if you are still experiencing issues with missing .github folders when new student assignments are accepted (and creating new repos). 👍
cc/ @lmraine @breed @aaleta @oliverosz
Thank you all for your patience and continuous …