[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:
Daco Harkes 2024-02-01 11:20:47 +00:00 committed by Commit Queue
parent f908dc692f
commit 3105c841d4

View file

@ -75,7 +75,9 @@ Iterable<String> _filterConfigurations(Set<String> configs) {
}
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 = {
@ -83,6 +85,13 @@ const _ciOnlyBuilders = {
'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* {
String? nextPageToken;
do {