mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
[tool] find_builders skip flaky builders
Bug: https://github.com/dart-lang/sdk/issues/51170 Change-Id: I5fbc97838b78f8efdab3a16c907976afaac43d4d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/349660 Auto-Submit: Daco Harkes <dacoharkes@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com> Commit-Queue: William Hesse <whesse@google.com> Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
parent
f908dc692f
commit
3105c841d4
1 changed files with 10 additions and 1 deletions
|
@ -75,7 +75,9 @@ Iterable<String> _filterConfigurations(Set<String> configs) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Iterable<String> _filterBuilders(Iterable<String> builders) {
|
Iterable<String> _filterBuilders(Iterable<String> builders) {
|
||||||
return builders.where((b) => !_ciOnlyBuilders.contains(b));
|
return builders.where(
|
||||||
|
(b) => !_ciOnlyBuilders.contains(b) && !_denyListedBuilders.contains(b),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const _ciOnlyBuilders = {
|
const _ciOnlyBuilders = {
|
||||||
|
@ -83,6 +85,13 @@ const _ciOnlyBuilders = {
|
||||||
'vm-linux-release-arm64',
|
'vm-linux-release-arm64',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const _denyListedBuilders = {
|
||||||
|
// TODO(https://dartbug.com/51170): Reenable this.
|
||||||
|
'vm-aot-win-debug-x64c',
|
||||||
|
// TODO(https://dartbug.com/51170): Reenable this.
|
||||||
|
'vm-win-debug-x64c',
|
||||||
|
};
|
||||||
|
|
||||||
Stream<Map<String, dynamic>> _configurationDocuments() async* {
|
Stream<Map<String, dynamic>> _configurationDocuments() async* {
|
||||||
String? nextPageToken;
|
String? nextPageToken;
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in a new issue