Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 10 additions & 27 deletions src/agenda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ pub fn prioritization() -> Box<dyn Action> {
"final-comment-period",
"major-change-accepted",
"t-libs",
"t-libs-api",
"t-rustdoc",
],
}),
Expand All @@ -46,7 +45,6 @@ pub fn prioritization() -> Box<dyn Action> {
"finished-final-comment-period",
"final-comment-period",
"t-libs",
"t-libs-api",
"t-rustdoc",
"S-waiting-on-author",
],
Expand All @@ -58,7 +56,7 @@ pub fn prioritization() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "open")],
include_labels: vec!["proposed-final-comment-period"],
exclude_labels: vec!["t-libs", "t-libs-api", "t-rustdoc"],
exclude_labels: vec!["t-libs", "t-rustdoc"],
}),
},
QueryMap {
Expand All @@ -67,7 +65,7 @@ pub fn prioritization() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "open")],
include_labels: vec!["final-comment-period"],
exclude_labels: vec!["t-libs", "t-libs-api", "t-rustdoc"],
exclude_labels: vec!["t-libs", "t-rustdoc"],
}),
},
QueryMap {
Expand All @@ -76,7 +74,7 @@ pub fn prioritization() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "all")],
include_labels: vec!["major-change-accepted", "to-announce"],
exclude_labels: vec!["t-libs", "t-libs-api", "t-rustdoc"],
exclude_labels: vec!["t-libs", "t-rustdoc"],
}),
},
QueryMap {
Expand All @@ -89,7 +87,7 @@ pub fn prioritization() -> Box<dyn Action> {
"disposition-merge",
"to-announce",
],
exclude_labels: vec!["t-libs", "t-libs-api", "t-rustdoc"],
exclude_labels: vec!["t-libs", "t-rustdoc"],
}),
},
],
Expand All @@ -111,7 +109,6 @@ pub fn prioritization() -> Box<dyn Action> {
"S-waiting-on-t-lang",
"S-waiting-on-t-libs",
"T-libs",
"T-libs-api",
"T-rustdoc",
],
}),
Expand All @@ -130,7 +127,6 @@ pub fn prioritization() -> Box<dyn Action> {
"S-waiting-on-t-lang",
"S-waiting-on-t-libs",
"T-libs",
"T-libs-api",
"T-rustdoc",
],
}),
Expand All @@ -147,7 +143,6 @@ pub fn prioritization() -> Box<dyn Action> {
],
exclude_labels: vec![
"t-libs",
"t-libs-api",
"t-rustdoc",
"t-rustdoc-frontend",
"t-lang",
Expand All @@ -171,7 +166,7 @@ pub fn prioritization() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "open")],
include_labels: vec!["proposed-final-comment-period"],
exclude_labels: vec!["t-libs", "t-libs-api", "t-rustdoc"],
exclude_labels: vec!["t-libs", "t-rustdoc"],
}),
},
QueryMap {
Expand All @@ -180,7 +175,7 @@ pub fn prioritization() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "open")],
include_labels: vec!["final-comment-period"],
exclude_labels: vec!["t-libs", "t-libs-api", "t-rustdoc"],
exclude_labels: vec!["t-libs", "t-rustdoc"],
}),
},
QueryMap {
Expand All @@ -193,7 +188,7 @@ pub fn prioritization() -> Box<dyn Action> {
"disposition-merge",
"to-announce",
],
exclude_labels: vec!["t-libs", "t-libs-api", "t-rustdoc"],
exclude_labels: vec!["t-libs", "t-rustdoc"],
}),
},
],
Expand Down Expand Up @@ -420,13 +415,7 @@ pub fn prioritization() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "open")],
include_labels: vec!["regression-from-stable-to-beta", "P-high"],
exclude_labels: vec![
"T-infra",
"T-libs",
"T-libs-api",
"T-release",
"T-rustdoc",
],
exclude_labels: vec!["T-infra", "T-libs", "T-release", "T-rustdoc"],
}),
},
QueryMap {
Expand All @@ -435,13 +424,7 @@ pub fn prioritization() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "open"), ("no", "assignee")],
include_labels: vec!["regression-from-stable-to-nightly", "P-high"],
exclude_labels: vec![
"T-infra",
"T-libs",
"T-libs-api",
"T-release",
"T-rustdoc",
],
exclude_labels: vec!["T-infra", "T-libs", "T-release", "T-rustdoc"],
}),
},
QueryMap {
Expand Down Expand Up @@ -557,7 +540,7 @@ pub fn compiler_backlog_bonanza() -> Box<dyn Action> {
query: Arc::new(IssueQuery {
filters: vec![("state", "open")],
include_labels: vec!["C-tracking-issue"],
exclude_labels: vec!["T-libs-api", "T-libs", "T-lang", "T-rustdoc"],
exclude_labels: vec!["T-libs", "T-lang", "T-rustdoc"],
}),
}],
}],
Expand Down
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ mod tests {
days-threshold = 14

[backport.teamRed]
required-pr-labels = ["T-libs", "T-libs-api"]
required-pr-labels = ["T-libs"]
required-issue-label = "regression-from-stable-to-stable"
add-labels = ["stable-nominated"]

Expand Down Expand Up @@ -1010,7 +1010,7 @@ mod tests {
backport_configs.insert(
"teamRed".into(),
BackportRuleConfig {
required_pr_labels: vec!["T-libs".into(), "T-libs-api".into()],
required_pr_labels: vec!["T-libs".into()],
required_issue_label: "regression-from-stable-to-stable".into(),
add_labels: vec!["stable-nominated".into()],
},
Expand Down
4 changes: 2 additions & 2 deletions templates/prioritization_agenda.tt
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ note_id: xxx

### P-high regressions

[P-high beta regressions](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-beta+label%3AP-high+-label%3AT-infra+-label%3AT-libs+-label%3AT-libs-api+-label%3AT-release+-label%3AT-rustdoc)
[P-high beta regressions](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-beta+label%3AP-high+-label%3AT-infra+-label%3AT-libs+-label%3AT-release+-label%3AT-rustdoc)
{{-issues::render(issues=beta_regressions_p_high, empty="No `P-high` beta regressions this time.")}}

[Unassigned P-high nightly regressions](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-nightly+label%3AP-high+no%3Aassignee+-label%3AT-infra+-label%3AT-libs+-label%3AT-libs-api+-label%3AT-release+-label%3AT-rustdoc+-label%3AT-bootstrap)
[Unassigned P-high nightly regressions](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-nightly+label%3AP-high+no%3Aassignee+-label%3AT-infra+-label%3AT-libs+-label%3AT-release+-label%3AT-rustdoc+-label%3AT-bootstrap)
{{-issues::render(issues=nightly_regressions_unassigned_p_high, empty="No unassigned `P-high` nightly regressions this time.")}}

## Performance logs
Expand Down