Skip to content

Fix jobs being duplicated if new jobs are added while script is running

Igor Ponomarev requested to merge fix-queryset-slide into main

The LAVA XMLRPC's list method uses the offset/limit pagination. This means that adding new jobs effectivelyy slides the query back to old entities. To avoid counting duplicate jobs record the lowest recorded job id and skip the job if its id is higher or equal than the recorded value.

Merge request reports