aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-gq.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-04-30 14:38:08 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-05-13 09:17:32 +0200
commit8f077dc4d89ea85e8e2ecee5513050fc7700758a (patch)
treee0c74fad01a717ba5713b0625286b11b835c8aad /mod/mod-ci-github-gq.hxx
parent894a85b3accf7026c04ba3550fa74d08816017c6 (diff)
Post-review changes
Diffstat (limited to 'mod/mod-ci-github-gq.hxx')
-rw-r--r--mod/mod-ci-github-gq.hxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/mod/mod-ci-github-gq.hxx b/mod/mod-ci-github-gq.hxx
index e8bb397..5ad77e1 100644
--- a/mod/mod-ci-github-gq.hxx
+++ b/mod/mod-ci-github-gq.hxx
@@ -26,6 +26,10 @@ namespace brep
// Note: no details_url yet since there will be no entry in the build result
// search page until the task starts building.
//
+ // @@ TMP We only create multiple check runs in build_queued() so
+ // build_state is redundant. Maybe we should rename this
+ // gq_queue_check_runs()?
+ //
bool
gq_create_check_runs (const basic_mark& error,
vector<check_run>& check_runs,
@@ -38,14 +42,15 @@ namespace brep
// state and the node ID. Return false and issue diagnostics if the request
// failed.
//
- // The result_status is required if the build_state is built because GitHub
- // does not allow a check run status of `completed` without a conclusion. @@
+ // The gq_built_result is required if the build_state is built because
+ // GitHub does not allow a check run status of `completed` without at least
+ // a conclusion.
//
struct gq_built_result
{
string conclusion;
string title;
- string summmary;
+ string summary;
};
bool
@@ -64,8 +69,9 @@ namespace brep
// with the new state. Return false and issue diagnostics if the request
// failed.
//
- // The result_status is required if the build_state is built because GitHub
- // does not allow a check run status of `completed` without a conclusion. @@
+ // The gq_built_result is required if the build_state is built because
+ // GitHub does not allow a check run status of `completed` without at least
+ // a conclusion.
//
bool
gq_update_check_run (const basic_mark& error,