Description of problem: I was about to change devtools_approve rule in BRE so in 'When' branch it checks whether any of 'devtools flags' flag group are '?' and in 'Then' branch it: Changes the 'devtools-2018.3' flag to '+' if it is currently '?' (ignored if not present) Changes the 'devtools-2018.4' flag to '+' if it is currently '?' (ignored if not present) Changes the 'devtools-2019.1' flag to '+' if it is currently '?' (ignored if not present) BRE has shown me an error saying I can't change those flags (devtools-2018.3, devtools-2018.4 and devtools-2019.1), because I didn't check them earlier. In flag group there was regular expression matching flags (^devtools-) and also devtools-1.0.0 flag checked from the list at the same time. Everything works fine after I unchecked this flag from the list. I think that single devtools-1.0.0 flag overrode the whole regular expression and 'devtools flags' thus contained only devtools-1.0.0 flag.
I think I know the error you are hitting, but it doesn't match your description, so I'm misunderstanding either you or the error :} Please attach the actual error text.
Created attachment 1459422 [details] Error message
Created attachment 1459423 [details] Flag group
Created attachment 1459424 [details] Flag group 2
Created attachment 1459426 [details] Rule step 2
Created attachment 1459427 [details] Rule step 3
I have attached requested error message as well as what do I see in 'devtools flags' Flag Group and how do I change 'devtools_approve' rule. Notice in second step I added new condition: 'devtools flags flag group any ?' and removed condition for 'devtools-2018.3' flag. In third step I try to set all 'devtools-*' flags to + if ? and ignore if not present.
hmm this is interesting. The purpose of the check is to prevent a rule from running twice on the same set of bugs, there are 7 active flags that can be in that group, but only 6 of them are being set in the rule. I tested adding devtoolsβ2018.2 to the rule and it got to step 4 without a warning. The error here is that there is only one warning message so the user gets mislead, it should say you are missing active flags. Perhaps it should let you use the group in step 3, so when flags get created/deactivated you don't have to change the rule.
Hi Tomas, I can't reproduce this warning any more, do you think anything needs to be done for this?
Still can't replicate this, feel free to reopen if you have a reproducer.