When gitmate applied the size-xs label, it removed label already applied by another bot
If this is not the right place to report the bug, please let me know.
Summary
When gitmate applued the size-xs label, it removed a label already applied by another bot.
Steps to reproduce
Please take a look at devguide PR 399
When the PR is opened, immediately two bots applied labels to it.
the-knights-who-say-ni applied the CLA signed label.
gitmate applied size-XS label, but also removed the CLA signed label.
What is the current bug behavior?
gitmate removed the CLA signed label already applied by the-knights-who-say-ni.
It should not have done that. Fortunately, our bot is good enough in that it checks the CLA and re-applied the label again. However, in CPython, we will have another bot that also applies label, and it will be important that gitmate does not interfere with another bot's work.
What is the expected correct behavior?
gitmate should not have removed the label applied by another bot.
Relevant links and/or screenshots
See the devguide PR https://github.com/python/devguide/pull/399#event-1746084744
Note that even though it shows that I applied the label, that was in fact done by gitmate. I installed gitmate in the repo using my own account.
Possible fixes
Not sure, but in CPython, we have two bots that apply labels to pull requests, and we never had any conflict.
Example PR in CPython where our bots applied different labels: https://github.com/python/cpython/pull/8420
The source code for CPython bots are: