-
Notifications
You must be signed in to change notification settings - Fork 839
[Merged by Bors] - fix: do not remove reactions if the corresponding label is still present on the PR #27570
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
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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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-merge
anddelegated
labels). The mechanism seems to be the following:maintainer-merge
'dzulip_emoji_merge_delegate.yaml
andzulip_emoji_merge_delegate_wf.yaml
react to this comment and:maintainer-merge
labelzulip_emoji_labelling.yaml
workflow reacts to themaintainer-merge
label being removed, and clears the "merge" emoji as well. See this log (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 thezulip_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