fix(ci): add Setup Go to the native add-on publish lane (#3425) #3505

Merged
mfreeman451 merged 1 commit from fix/native-addons-publish-setup-go into staging 2026-06-01 17:53:37 +00:00
Owner

The native-addons.yml publish lane failed at "Install go-size-analyzer":

/var/run/act/workflow/6.sh: line 2: go: command not found
exitcode '127': command not found

The gsa install step runs go install ...@v1.13.0, but the publish job (the
serviceradar-signing runner) has no go on PATH — there was no Setup Go step
(the release-gate work added the gsa install without it). Every other workflow
that needs go (docker-build, golangci-lint, banner-grab-large,
tests-rust-addon-interop) uses actions/setup-go; mirror it here, before the
gsa install, pinning go-version-file: go.mod.

(The hermetic-native-addon-builds proposal will eventually replace this
workflow-time go install with a Bazel-pinned gsa tool target; this is the
minimal unblock.)

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

IMPORTANT: Please sign the Developer Certificate of Origin

Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include
a DCO sign-off statement indicating the DCO acceptance in one commit message. Here
is an example DCO Signed-off-by line in a commit message:

Signed-off-by: J. Doe <j.doe@domain.com>

Describe your changes

Code checklist before requesting a review

  • I have signed the DCO?
  • The build completes without errors?
  • All tests are passing when running make test?
The `native-addons.yml` publish lane failed at "Install go-size-analyzer": /var/run/act/workflow/6.sh: line 2: go: command not found exitcode '127': command not found The gsa install step runs `go install ...@v1.13.0`, but the publish job (the serviceradar-signing runner) has no `go` on PATH — there was no Setup Go step (the release-gate work added the gsa install without it). Every other workflow that needs go (docker-build, golangci-lint, banner-grab-large, tests-rust-addon-interop) uses actions/setup-go; mirror it here, before the gsa install, pinning go-version-file: go.mod. (The hermetic-native-addon-builds proposal will eventually replace this workflow-time `go install` with a Bazel-pinned gsa tool target; this is the minimal unblock.) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> ## IMPORTANT: Please sign the Developer Certificate of Origin Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include a [DCO sign-off statement]( https://developercertificate.org/) indicating the DCO acceptance in one commit message. Here is an example DCO Signed-off-by line in a commit message: ``` Signed-off-by: J. Doe <j.doe@domain.com> ``` ## Describe your changes ## Issue ticket number and link ## Code checklist before requesting a review - [ ] I have signed the DCO? - [ ] The build completes without errors? - [ ] All tests are passing when running make test?
fix(ci): add Setup Go to the native add-on publish lane (#3425)
Some checks failed
Secret Scan / gitleaks (pull_request) Successful in 24s
lint / lint (pull_request) Successful in 1m0s
lint / lint (push) Successful in 2m11s
Golang Tests / test-go (push) Failing after 2m19s
CI / build (pull_request) Failing after 3m44s
e646165630
The `native-addons.yml` publish lane failed at "Install go-size-analyzer":

    /var/run/act/workflow/6.sh: line 2: go: command not found
    exitcode '127': command not found

The gsa install step runs `go install ...@v1.13.0`, but the publish job (the
serviceradar-signing runner) has no `go` on PATH — there was no Setup Go step
(the release-gate work added the gsa install without it). Every other workflow
that needs go (docker-build, golangci-lint, banner-grab-large,
tests-rust-addon-interop) uses actions/setup-go; mirror it here, before the
gsa install, pinning go-version-file: go.mod.

(The hermetic-native-addon-builds proposal will eventually replace this
workflow-time `go install` with a Bazel-pinned gsa tool target; this is the
minimal unblock.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mfreeman451 left a comment

lgtm

lgtm
mfreeman451 deleted branch fix/native-addons-publish-setup-go 2026-06-01 17:53:37 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar!3505
No description provided.