diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2025-02-14 11:12:29 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2025-02-14 11:12:29 +0200 |
commit | 1795263201cc930c349add08aac8cc268796d773 (patch) | |
tree | 39a7556abbf16577b88d259d6c0ac47cc4bdeff0 /mod | |
parent | 8d25b6e3a07c0879c483a185ba5a2990640e585f (diff) |
ci-github: Don't warn on expected check run rebuilds
Diffstat (limited to 'mod')
-rw-r--r-- | mod/mod-ci-github.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 8242fc0..cd45c4c 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -2351,7 +2351,11 @@ namespace brep { // Unexpected built->queued transition (rebuild). // - warn << "check run " << bid << ": unexpected rebuild"; + // Note that handle_check_run_rerequest() may trigger an "expected" + // rebuild, in which case our state should be set to queued. + // + if (scr->state != build_state::queued || !scr->state_synced) + warn << "check run " << bid << ": unexpected rebuild"; } else { |