Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update project Go version to 1.24.8 #985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
per1234 merged 1 commit into arduino:main from per1234:bump-go
Nov 1, 2025
Merged

Conversation

@per1234
Copy link
Contributor

@per1234 per1234 commented Nov 1, 2025

Several changes were required to accompany the version number bumps:

Image Name

It was necessary to change the format of the name of the image used for the Linux ARM 64-bit release builds from:

docker.elastic.co/beats-dev/golang-crossbuild:1.24.0-arm

to:

docker.elastic.co/beats-dev/golang-crossbuild:1.24.8-base-arm-debian10

This is due to an change in the docker.elastic.co/beats-dev/golang-crossbuild image naming scheme, starting from 1.24.1 (elastic/golang-crossbuild#545, elastic/golang-crossbuild#639).

Without the change, the build would fail:

docker: Error response from daemon: manifest for docker.elastic.co/beats-dev/golang-crossbuild:1.24.8-arm not found: manifest unknown: manifest unknown

Runner for Linux ARM 64-bit Release Builds

Previously, the ubuntu-latest GitHub Actions runner was used for the matrix job of the Linux ARM 64-bit release builds. However, the docker.elastic.co/beats-dev/golang-crossbuild:1.24.8-base-arm-debian10 image fails to run on this runner:

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
exec /crossbuild: exec format error

The incompatibility is solved by changing to the Linux ARM runner ubuntu-24.04-arm, as was previously done to solve the same problem for the macOS ARM build (#952).

It is standard practice to use the "latest" GitHub Actions runner identifiers in the project's workflows, which causes the workflow runs to always use the newest stable runner version. However, GitHub has broken from this established convention by choosing to not provide "latest" identifiers for the Linux ARM runners (actions/partner-runner-images#118 (comment)). For this reason, the version-specific runner name was used in the workflow. It will be necessary to manually update the runner name as new stable versions are made available (or more likely fail to do so until forced after GitHub's removal of the runner in use breaks the workflows).

Several changes were required to accompany the version number bumps:
Image Name
----------
It was necessary to change the format of the name of the image used for the Linux ARM 64-bit release builds from:
`docker.elastic.co/beats-dev/golang-crossbuild:1.24.0-arm`
to:
`docker.elastic.co/beats-dev/golang-crossbuild:1.24.8-base-arm-debian10`
This is due to an change in the `docker.elastic.co/beats-dev/golang-crossbuild` image naming scheme, starting from
1.24.1.
Without the change, the build would fail:
```
docker: Error response from daemon: manifest for docker.elastic.co/beats-dev/golang-crossbuild:1.24.8-arm not found: manifest unknown: manifest unknown
```
Runner for Linux ARM 64-bit Release Builds
------------------------------------------
Previously, the `ubuntu-latest` GitHub Actions runner was used for the matrix job of the Linux ARM 64-bit release
builds. However, the `docker.elastic.co/beats-dev/golang-crossbuild:1.24.8-base-arm-debian10` image fails to run on this
runner:
```
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
exec /crossbuild: exec format error
```
The incompatibility is solved by changing to the Linux ARM runner `ubuntu-24.04-arm`, as was previously done to solve
the same problem for the macOS ARM build.
It is standard practice to use the "latest" GitHub Actions runner identifiers in the project's workflows, which causes
the workflow runs to always use the newest stable runner version. However, GitHub has broken from this established
convention by choosing to not provide "latest" identifiers for the Linux ARM runners. For this reason, the
version-specific runner name was used in the workflow. It will be necessary to manually update the runner name as new
stable versions are made available (or more likely fail to do so until forced after GitHub's removal of the runner in
use breaks the workflows).
@per1234 per1234 self-assigned this Nov 1, 2025
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Nov 1, 2025
Copy link

codecov bot commented Nov 1, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.33%. Comparing base (6e865aa) to head (d646d14).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@
## main #985 +/- ##
=======================================
 Coverage 83.33% 83.33% 
=======================================
 Files 1 1 
 Lines 180 180 
=======================================
 Hits 150 150 
 Misses 19 19 
 Partials 11 11 
Flag Coverage Δ
unit 83.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@per1234 per1234 merged commit 8ad9ece into arduino:main Nov 1, 2025
73 of 74 checks passed
@per1234 per1234 deleted the bump-go branch November 1, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels

topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /