WIP: fix: reviews may be ahead of timeline #138

Draft
andriinikitin wants to merge 2 commits from fix-multiple-reviews-from-the-same-user into main

2 Commits

Author SHA256 Message Date
Andrii Nikitin
833b679c96 fix reviews may be ahead of timeline
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 27s
Integration tests / t (pull_request) Successful in 7m20s
The bot may be confused if he has all the reviews, but some of them are missing
on the timeline. This may happen if a new review arrives inbetween of gitea api call.
Changing orders of API calls ensures that state of reviews is not ahead of timeline.
2026-02-25 15:37:39 +01:00
Andrii Nikitin
6b669f1dd5 fix: correctly handle multiple reviews from the same user 2026-02-25 15:37:39 +01:00