Skip to content

[CI] aggregate: trigger build-image via curl instead of gh CLI - #105

Merged
dnplkndll merged 1 commit into
ledoentfrom
19.0-fix-ci-dispatch-curl
Jun 11, 2026
Merged

dnplkndll merged 1 commit into
ledoentfrom
19.0-fix-ci-dispatch-curl

Conversation

@dnplkndll

Copy link
Copy Markdown

The "Trigger build-image workflow" step in aggregate.yml called gh api, but the self-hosted runner pool doesn't ship the gh CLI. The step failed with gh: command not found (exit 127), turning the aggregate run red after gitaggregate and the force-push had already succeeded — so aggregated was updated but the downstream image build was never dispatched.

Replaces the gh api call with an equivalent curl POST to the repository_dispatch endpoint (curl is universally available). Same event_type (aggregated-updated) and client_payload.sha; the no-token fallback is unchanged.

The 'Trigger build-image workflow' step called `gh api`, but the
self-hosted runner pool doesn't ship the gh CLI, so the step failed with
"gh: command not found" (exit 127) and the aggregate run went red even
though gitaggregate and the force-push had both succeeded. Replace the gh
call with an equivalent curl POST to the repository_dispatch API (curl is
universally available). Same event_type and client_payload; the no-token
fallback is preserved.
@dnplkndll
dnplkndll merged commit ddde0af into ledoent Jun 11, 2026
2 of 4 checks passed
@dnplkndll
dnplkndll deleted the 19.0-fix-ci-dispatch-curl branch June 11, 2026 12:14
dnplkndll added a commit that referenced this pull request Jun 14, 2026
The 'Trigger build-image workflow' step called `gh api`, but the
self-hosted runner pool doesn't ship the gh CLI, so the step failed with
"gh: command not found" (exit 127) and the aggregate run went red even
though gitaggregate and the force-push had both succeeded. Replace the gh
call with an equivalent curl POST to the repository_dispatch API (curl is
universally available). Same event_type and client_payload; the no-token
fallback is preserved.
dnplkndll added a commit that referenced this pull request Jun 19, 2026
The 'Trigger build-image workflow' step called `gh api`, but the
self-hosted runner pool doesn't ship the gh CLI, so the step failed with
"gh: command not found" (exit 127) and the aggregate run went red even
though gitaggregate and the force-push had both succeeded. Replace the gh
call with an equivalent curl POST to the repository_dispatch API (curl is
universally available). Same event_type and client_payload; the no-token
fallback is preserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant