Reworking of the Athena repository retrieval #10236
Labels
athena
Pull requests that affect the corresponding module
bug
exercise
Pull requests that affect the corresponding module
iris
Pull requests that affect the corresponding module
programming
Pull requests that affect the corresponding module
Describe the bug
The Athena repository data handling needs some reconsideration.
Artemis sends a link to a repository to Athena and Athena requests them from Artemis again once they are needed.
We are currently using
AthenaRepositoryExportService.exportRepository
which usesProgrammingExerciseExportService.getRepositoryWithParticipation
under the hood which will send the whole repository as zip once Athena requests it.To Reproduce
Configure Athena with a programming exercise for immediate AI feedback requests for students and for the tutor side.
Expected behavior
Artemis sends the repository content similarly to
PyrisDTOService.getRepositoryContents
, for instance usinggetFilteredRepositoryContents(exercise.getTemplateParticipation())
which is much more performant.This will reduce the number of requests, moves Athena to be less stateful, increases performance of the repository sending, and reduces the amount of uneccessary data accessed and sent.
Which version of Artemis are you seeing the problem on?
7.9.0
The text was updated successfully, but these errors were encountered: