aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-11-05 13:54:00 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-11-05 16:43:23 +0200
commitacac3315dc6d5b42671d3ca5240189a69af1975b (patch)
tree61566d4356453a5a404143cd5364a442441e1886
parentcf0929f3afac32f27e191afbd8ee6b30eba5ad1a (diff)
Continue service_data::completed
-rw-r--r--mod/mod-ci-github-service-data.cxx6
-rw-r--r--mod/mod-ci-github.cxx8
2 files changed, 8 insertions, 6 deletions
diff --git a/mod/mod-ci-github-service-data.cxx b/mod/mod-ci-github-service-data.cxx
index f22961b..18f6eeb 100644
--- a/mod/mod-ci-github-service-data.cxx
+++ b/mod/mod-ci-github-service-data.cxx
@@ -130,7 +130,8 @@ namespace brep
repository_node_id (move (rid)),
repository_clone_url (move (rcu)),
check_sha (move (cs)),
- report_sha (move (rs))
+ report_sha (move (rs)),
+ completed (false)
{
}
@@ -159,7 +160,8 @@ namespace brep
pr_node_id (move (pid)),
pr_number (prn),
check_sha (move (cs)),
- report_sha (move (rs))
+ report_sha (move (rs)),
+ completed (false)
{
}
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx
index d5c2e74..0e95aa2 100644
--- a/mod/mod-ci-github.cxx
+++ b/mod/mod-ci-github.cxx
@@ -1241,7 +1241,7 @@ namespace brep
return nullptr;
}
- // Ignore attempts to add new builds to a completed check run. This can
+ // Ignore attempts to add new builds to a completed check suite. This can
// happen, for example, if a new build configuration is added before
// the tenant is archived.
//
@@ -1411,7 +1411,7 @@ namespace brep
}
// Similar to build_queued(), ignore attempts to add new builds to a
- // completed check run.
+ // completed check suite.
//
if (sd.completed)
return nullptr;
@@ -1561,14 +1561,14 @@ namespace brep
}
// Similar to build_queued(), ignore attempts to add new builds to a
- // completed check run.
+ // completed check suite.
//
if (sd.completed)
return nullptr;
// Here we need to update the state of this check run and, if there are no
// more unbuilt ones, update the synthetic conclusion check run and mark
- // the check run as completed.
+ // the check suite as completed.
//
// Absent means we still have unbuilt check runs.
//