[BUG] Gradescope crashing causes forward crash #116
Labels
bug
Something isn't working
good first issue
Good for newcomers
Gradescope
This issue only occurs on gradescope
Result Generation
Description
Issue
Gradescope crashes occasionally under periods of high load causing an empty entry in the submission metadata file.
When this the first entry in the list or in the submission sublist, the autograder crashes when finalizing the results metadata due to the missing score file.
Additionally, failed executions are counting against the student's submission limit.
Steps to recreate
Hard to reproduce: use example failed metadata instead
Results JSON should also be empty (or null)
Solution
In theory there are tests covering these cases, but it seems that they are missing some cases.
We also need to add an E2E test that verifies that we don't crash with a malformed results.json or submission_metadata.json.
Semi related to #87.
Acceptance Criteria
submission_metadata.json
orresults.json
The text was updated successfully, but these errors were encountered: