-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
combine instances of "reviewers as assignees" rule #129
Comments
Links to #92 |
This has also happened on LDMW |
@SimonLab Can we please update the comment from: @username, a reviewer has been added to the pull request. to: @username, the |
A first idea on how to combine errors: Instead of reporting the errors directly on Github we need to collect them during a specific short time and combine the errors. For that we can create a new process and send the errors to this process. The process will then catch any errors linked to the same org/repo/issue and combine them. Then the new combine errors will be sent to our Github wrapper. Elixir let us name process, this will allow us to know where to send the errors to. This is the basic logic and needs a bit more details but I think it should resolve our multiple error messages issue. |
I manage to start a process which will collect the errors for a give org/repo/issue then combine the errors. I also manage to give a name to the process with "What if two processes try to register So instead of having multiple processes (one per each org/repo/issue) we can start only one process that we will name when the application start. This process will check every after 1mn for example if some rules can be combined. At the moment this can work but if dwylbot is installed on a important number of repo and if it receives a lot of error this solution might not scale very well. At this stage it's ok to have only one process. |
@naazy I'm bumping up the priority on this one as it seems to be affecting a number of people |
@SimonLab I noticed the in-progress label is still on - how far away from completion is this solution? |
I think we should wait for #134 (comment) to be merged in before tackling this because they are related |
The rule define in #62 (adding reviewers as assignee) is trigger multiple time if reviewers are defined at the same time. We still want to add each reviewers as assignees however we want to only add one dwylbot comment and only add the awaiting-reiview label once.
The text was updated successfully, but these errors were encountered: