[Merged by Bors] - fix: do not remove reactions if the corresponding label is still present on the PR#27570
Conversation
PR summary f5ed73d3f3Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
grunweg
left a comment
There was a problem hiding this comment.
Thanks! First look looks good, just minor comments (and future-proofing).
|
Just took a second look again. The bug you described is subtles (yikes!), thanks a lot for finding and fixing it! |
|
🚀 Pull request has been placed on the maintainer queue by grunweg. |
|
This should be ready now, thanks for the reviews! |
adomani
left a comment
There was a problem hiding this comment.
Thank you for this fix: let's see how it works!
bors merge
…ent on the PR (#27570) Recently the reaction bot on Zulip has been observed to add a reaction and then remove it shortly afterwards (mainly the reactions corresponding to the `ready-to-merge` and `delegated` labels). The mechanism seems to be the following: - a maintainer writes a comment like "bors merge" (or "bors d+") on a PR that has been `maintainer-merge`'d - `zulip_emoji_merge_delegate.yaml` and `zulip_emoji_merge_delegate_wf.yaml` react to this comment and: - simultaneously adds the "ready-to-merge" and removes the `maintainer-merge` label - adds the "merge" emoji reaction on Zulip - the `zulip_emoji_labelling.yaml` workflow reacts to the `maintainer-merge` label being removed, and clears the "merge" emoji as well. See [this log](https://github.com/leanprover-community/mathlib4/actions/runs/16270158496/job/45935446666#step:5:30) (which removes the "delegated" emoji). We change the `zulip_emoji_labelling.yaml` workflow so that it passes the current list of labels on the PR to the `zulip_emoji_reactions.py` script, and also change the script so that it only removes a reaction if the corresponding label is NOT present. cf. https://leanprover.zulipchat.com/#narrow/channel/345428-mathlib-reviewers/topic/merge.2Fdelegate.20emojis.20bot/near/528289834
|
Pull request successfully merged into master. Build succeeded: |
…ent on the PR (leanprover-community#27570) Recently the reaction bot on Zulip has been observed to add a reaction and then remove it shortly afterwards (mainly the reactions corresponding to the `ready-to-merge` and `delegated` labels). The mechanism seems to be the following: - a maintainer writes a comment like "bors merge" (or "bors d+") on a PR that has been `maintainer-merge`'d - `zulip_emoji_merge_delegate.yaml` and `zulip_emoji_merge_delegate_wf.yaml` react to this comment and: - simultaneously adds the "ready-to-merge" and removes the `maintainer-merge` label - adds the "merge" emoji reaction on Zulip - the `zulip_emoji_labelling.yaml` workflow reacts to the `maintainer-merge` label being removed, and clears the "merge" emoji as well. See [this log](https://github.com/leanprover-community/mathlib4/actions/runs/16270158496/job/45935446666#step:5:30) (which removes the "delegated" emoji). We change the `zulip_emoji_labelling.yaml` workflow so that it passes the current list of labels on the PR to the `zulip_emoji_reactions.py` script, and also change the script so that it only removes a reaction if the corresponding label is NOT present. cf. https://leanprover.zulipchat.com/#narrow/channel/345428-mathlib-reviewers/topic/merge.2Fdelegate.20emojis.20bot/near/528289834
…ent on the PR (leanprover-community#27570) Recently the reaction bot on Zulip has been observed to add a reaction and then remove it shortly afterwards (mainly the reactions corresponding to the `ready-to-merge` and `delegated` labels). The mechanism seems to be the following: - a maintainer writes a comment like "bors merge" (or "bors d+") on a PR that has been `maintainer-merge`'d - `zulip_emoji_merge_delegate.yaml` and `zulip_emoji_merge_delegate_wf.yaml` react to this comment and: - simultaneously adds the "ready-to-merge" and removes the `maintainer-merge` label - adds the "merge" emoji reaction on Zulip - the `zulip_emoji_labelling.yaml` workflow reacts to the `maintainer-merge` label being removed, and clears the "merge" emoji as well. See [this log](https://github.com/leanprover-community/mathlib4/actions/runs/16270158496/job/45935446666#step:5:30) (which removes the "delegated" emoji). We change the `zulip_emoji_labelling.yaml` workflow so that it passes the current list of labels on the PR to the `zulip_emoji_reactions.py` script, and also change the script so that it only removes a reaction if the corresponding label is NOT present. cf. https://leanprover.zulipchat.com/#narrow/channel/345428-mathlib-reviewers/topic/merge.2Fdelegate.20emojis.20bot/near/528289834
Recently the reaction bot on Zulip has been observed to add a reaction and then remove it shortly afterwards (mainly the reactions corresponding to the
ready-to-mergeanddelegatedlabels). The mechanism seems to be the following:maintainer-merge'dzulip_emoji_merge_delegate.yamlandzulip_emoji_merge_delegate_wf.yamlreact to this comment and:maintainer-mergelabelzulip_emoji_labelling.yamlworkflow reacts to themaintainer-mergelabel being removed, and clears the "merge" emoji as well. See this log (which removes the "delegated" emoji).We change the
zulip_emoji_labelling.yamlworkflow so that it passes the current list of labels on the PR to thezulip_emoji_reactions.pyscript, and also change the script so that it only removes a reaction if the corresponding label is NOT present.cf. https://leanprover.zulipchat.com/#narrow/channel/345428-mathlib-reviewers/topic/merge.2Fdelegate.20emojis.20bot/near/528289834