Currently, the last actions of the batch analysis are:
, in order to make the last analysis visible in the UI.
Those actions must be moved to the compute engine otherwise:
- a user could see the latest snapshot generated by the batch
- whereas the corresponding issues are not yet indexed in E/S
- which could bring real UX troubles
Once this ticket is done, the move of DB Cleaner to Compute Engine side (
SONAR-5628) should occur quickly because the DB Cleaner relies on this "last snapshot" information to perform its operations properly.
This means that the WS must pass the snapshot ID along with the key of the project.