aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-11-27 09:44:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-11-27 09:44:16 +0200
commit2a305c9fea9c70f2c1e104a1cb180b17058cbea1 (patch)
treea225324d0218aa55ca80d00774977c81f3cbe605 /mod/mod-ci-github.cxx
parentee6d96c115f4c18a1a8ab908db4e0981971337a0 (diff)
Review
Diffstat (limited to 'mod/mod-ci-github.cxx')
-rw-r--r--mod/mod-ci-github.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx
index 7037dfb..119968d 100644
--- a/mod/mod-ci-github.cxx
+++ b/mod/mod-ci-github.cxx
@@ -1511,21 +1511,23 @@ namespace brep
true /* ref_count */))
{
l3 ([&]{trace << "pull request " << pr.pull_request.node_id
- << ": canceled CI of previous head commit"
+ << ": attempted to cancel CI of previous head commit"
<< " (ref_count: " << ts->ref_count << ')';});
}
else
{
- error << "pull request " << pr.pull_request.node_id
- << ": failed to cancel CI of previous head commit "
- << "with tenant_service id " << sid;
+ // It's possible that there was no CI for the previous commit for
+ // various reasons (e.g., CI was not enabled).
+ //
+ l3 ([&]{trace << "pull request " << pr.pull_request.node_id
+ << ": failed to cancel CI of previous head commit "
+ << "with tenant_service id " << sid;});
}
}
else
{
error << "pull request " << pr.pull_request.node_id
- << ": `before` member is missing"
- << " so cannot cancel CI of previous head commit";
+ << ": before commit is missing in synchronize event";
}
}