INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

Debug information cannot be seen on the /submission/ page

Open mpiraux opened this issue 2 years ago • 3 comments

When submitting a task as an admin, a modal showing debug information can be obtained. When looking at a submission through the /submission/ page, there should be a way to obtain this information without replaying the submission as self. Is this a limitation where debug information is only retained for course admin subsmissions?

mpiraux avatar Mar 09 '22 14:03 mpiraux

The complete information are historically fetched from the container and stored in database only for administrators. This is done here : https://github.com/UCL-INGI/INGInious/blob/master/inginious/frontend/pages/tasks.py#L210

This was done to avoid wasting valuable database space storing potentially huge and meaningless stdout/stderr from students. I'm not against removing this behaviour but I'm not sure it's relevant to keep the stdout and stderr fields in the mongo "submission" object then, as this may reduce performance in many cases when making requests on the "submissions" collection.

anthonygego avatar Mar 09 '22 14:03 anthonygego

Alright then, it was more to check the consistence of the interface rather than requesting the change you described.

mpiraux avatar Mar 09 '22 15:03 mpiraux

Reopening this one due to public demand. The scope is to request to show the debug information in /submission/ when available.

mpiraux avatar Mar 09 '22 16:03 mpiraux