Show tracked issues without assigned releases in the Zashi pipeline

This commit is contained in:
Jack Grigg 2024-11-19 14:11:31 +13:00
parent c1012e7e75
commit 5b526e5175
1 changed files with 4 additions and 1 deletions

View File

@ -263,8 +263,11 @@ def main():
for issue in tracked_issues.values(): for issue in tracked_issues.values():
rows = [ReleasePipeline(row) for row in build_release_matrix_from(dg, issue, RUST)] rows = [ReleasePipeline(row) for row in build_release_matrix_from(dg, issue, RUST)]
# If we traversed the entire graph and there are no releases downstream of the
# issue, show this as an empty row.
if len(rows) == 0: if len(rows) == 0:
continue rows = [ReleasePipeline({})]
# Deduplicate rows # Deduplicate rows
rows = list(dict.fromkeys(rows)) rows = list(dict.fromkeys(rows))