Concurrent PR modification using PullRequestService#update

Using PullRequestService#update on different listeners for the same PR, we got concurrent PR modification, for example updating PR reviewers.

  • Listerner #1 added reviewers to PR:
  • Listener #2 added other reviewers to PR, but implicity removed reviewers added by listener #1 at the same time:

How can we avoid this concurrent modification, so PR will keep all reviewers set by listeners?
Thanks in advance.

1 Like