Skip to content
Merged
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
6 changes: 5 additions & 1 deletion scripts/retrieve_ci_failures.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,14 @@ def get_fixed_by_commit_pushes():

# Skip cases where there is no backout (and so the fix was a bustage fix).
no_backouts = set()
for bug_id in fixed_by_commit_pushes.keys():
for bug_id, obj in fixed_by_commit_pushes.items():
if bug_id not in backouts_by_bug_id:
no_backouts.add(bug_id)

# This is needed because sometimes v-c-t fails to identify backouts.
if not any(commit["backedoutby"] for commit in obj["commits"]):
no_backouts.add(bug_id)

logger.info(
f"{len(no_backouts)} cases to be removed because there were no backouts in the bug."
)
Expand Down