From 07407c2e53da44d01c43f94d31397fd5ce909e19 Mon Sep 17 00:00:00 2001 From: CI Automation Date: Fri, 25 Oct 2024 10:23:22 +0200 Subject: [PATCH] Add a runbook link to guestos label missing error message --- release-controller/release_notes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release-controller/release_notes.py b/release-controller/release_notes.py index 003e19e8f..14c6730cb 100755 --- a/release-controller/release_notes.py +++ b/release-controller/release_notes.py @@ -510,7 +510,9 @@ def is_guestos_change(ic_repo: GitRepo, commit: str) -> bool: """Check if GuestOS changed for the commit by querying git notes populated by commit annotator.""" changed = ic_repo.get_note(GUESTOS_CHANGED_NOTES_NAMESPACE, commit) if not changed: - raise ValueError(f"Could not find targets for commit {commit}") + raise ValueError( + f"Could not find GuestOS label for commit {commit}. Check out commit annotator logs and runbook: https://dfinity.github.io/dre/release.html#missing-guestos-label." + ) changed = changed.strip() if changed == "True": return True