Bug 1655515 - Remove temporary workaround to consider shippable tasks returned by bugbug as opt tasks. r=bhearsum DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D85159
This commit is contained in:
Marco Castelluccio 2020-08-05 12:32:49 +00:00
Родитель 7a05ad3411
Коммит 1f770c10a5
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -121,12 +121,6 @@ class BugBugPushSchedules(OptimizationStrategy):
if confidence >= self.confidence_threshold
)
# Temporarily rewrite shippable tasks to regular opt ones
# until bugbug is updated to handle
# https://bugzilla.mozilla.org/show_bug.cgi?id=1650208
# https://bugzilla.mozilla.org/show_bug.cgi?id=1648292
tasks = map(lambda t: t.replace("-shippable", ""), tasks)
test_manifests = task.attributes.get('test_manifests')
if test_manifests is None or self.tasks_only:
if data.get("known_tasks") and task.label not in data["known_tasks"]: