From 46eec12b39db2279ecd15e3681354f566945d5c2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 7 Feb 2025 09:15:07 +0200 Subject: ci-github: ignore interrupts in build_building() notification --- mod/mod-ci-github.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'mod/mod-ci-github.cxx') diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 6cf3b80..b4babce 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -2523,8 +2523,15 @@ namespace brep } } else - warn << "check run " << bid << ": out of order building " - << "notification; existing state: " << scr->state_string (); + { + // Ignore interrupted (building -> queued -> building transition). + // + if (scr->state != build_state::building) + { + warn << "check run " << bid << ": out of order building " + << "notification; existing state: " << scr->state_string (); + } + } } else warn << "check run " << bid << ": out of order building " -- cgit v1.1