Skip to content
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

Do not send a notification for P-high stable regressions #73585

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

LeSeulArtichaut
Copy link
Contributor

This is kind of a hack to only match nightly and beta regressions, but not stable regressions. See my tests on the playground.

r? @spastorino cc @Mark-Simulacrum

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 21, 2020
triagebot.toml Outdated
@@ -113,7 +113,7 @@ topic = "P-critical #{number} {title}"
message_on_add = "@*WG-prioritization* issue #{number} has been assigned `P-critical`."

[notify-zulip."P-high"]
required_labels = ["regression-from-stable-to-*"]
required_labels = ["regression-from-stable-to-[bn]*"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer that we just list out beta and nightly explicitly (I forget if this is a regex or what, too, it might be using shell-like globs in which case this won't work).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we are currently using globs for this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay, seems like globset does support this notation. I would still prefer two entries in this array.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means I'll have to modify the behaviour of Triagebot. I implemented it in an "AND" fashion, so that all the labels in the array are required. So, if we think we'll never have to combine multiple labels such that all of them are required, I can just open a PR in Triagebot to switch that. Otherwise we'll have to find another solution. What do you think? cc @spastorino

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay, makes sense. I think that's probably good to leave in. Mind changing this to use -{beta, nightly} presuming that's supported?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've read the documentation of glob and I don't think it is supported. I will check again though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is supported. See the glob documentation and the test I just did in the playground.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, okay. Maybe we should switch to globset which seems more featureful (or just go to regex directly).

@Mark-Simulacrum
Copy link
Member

r=me with commits squashed presuming consensus on wanting the change itself.

@LeSeulArtichaut
Copy link
Contributor Author

This was asked by @spastorino, see this message.

@Mark-Simulacrum just squashed the commits, thanks for reviewing :)

@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

Thank you!

@bors
Copy link
Contributor

bors commented Jun 21, 2020

📌 Commit ae71e96 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 21, 2020
Manishearth added a commit to Manishearth/rust that referenced this pull request Jun 21, 2020
…ulacrum

Do not send a notification for P-high stable regressions

This is kind of a hack to only match nightly and beta regressions, but not stable regressions. See my tests [on the playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6ff8a809162118aa2951f2ff12400067).

r? @spastorino cc @Mark-Simulacrum
Manishearth added a commit to Manishearth/rust that referenced this pull request Jun 22, 2020
…ulacrum

Do not send a notification for P-high stable regressions

This is kind of a hack to only match nightly and beta regressions, but not stable regressions. See my tests [on the playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6ff8a809162118aa2951f2ff12400067).

r? @spastorino cc @Mark-Simulacrum
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Jun 22, 2020
…ulacrum

Do not send a notification for P-high stable regressions

This is kind of a hack to only match nightly and beta regressions, but not stable regressions. See my tests [on the playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6ff8a809162118aa2951f2ff12400067).

r? @spastorino cc @Mark-Simulacrum
This was referenced Jun 22, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 22, 2020
Rollup of 6 pull requests

Successful merges:

 - rust-lang#71660 (impl PartialEq<Vec<B>> for &[A], &mut [A])
 - rust-lang#72623 (Prefer accessible paths in 'use' suggestions)
 - rust-lang#73502 (Add E0765)
 - rust-lang#73580 (deprecate wrapping_offset_from)
 - rust-lang#73582 (Miri: replace many bug! by span_bug!)
 - rust-lang#73585 (Do not send a notification for P-high stable regressions)

Failed merges:

 - rust-lang#73581 (Create 0766 error code)

r? @ghost
@bors bors merged commit c5e6f48 into rust-lang:master Jun 22, 2020
@LeSeulArtichaut LeSeulArtichaut deleted the patch-3 branch June 24, 2020 13:04
@cuviper cuviper added this to the 1.46 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants