Skip to content
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

Upgrade golang version to 1.24.1 #2850

Merged
merged 6 commits into from
Mar 31, 2025
Merged

Upgrade golang version to 1.24.1 #2850

merged 6 commits into from
Mar 31, 2025

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Feb 27, 2025

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

As per subject.

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change, and is titled accordingly?

Other information

@cmaglie cmaglie added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Feb 27, 2025
@cmaglie cmaglie self-assigned this Feb 27, 2025
@cmaglie
Copy link
Member Author

cmaglie commented Feb 27, 2025

Could not upgrade due to this:

2025-02-27T10:35:36.7331257Z Installing platform opentracker:[email protected]...
2025-02-27T10:35:36.7334083Z Error during install: Cannot install platform: installing platform opentracker:[email protected]: extracting archive: Create file C:\Users\runneradmin\AppData\Local\Temp\cli2305421146\A\tmp\package-162356431\1.0.5\system\libsam\build_gcc\NUL: open C:\Users\runneradmin\AppData\Local\Temp\cli2305421146\A\tmp\package-162356431\1.0.5\system\libsam\build_gcc\NUL: Incorrect function.
2025-02-27T10:35:36.7336277Z �[90m<<< Run completed (err = exit status 1)�[0m
2025-02-27T10:35:36.7336881Z ##[endgroup]
2025-02-27T10:35:36.7337272Z     core_test.go:1367: 
2025-02-27T10:35:36.7338737Z         	Error Trace:	D:/a/arduino-cli/arduino-cli/internal/integrationtest/core/core_test.go:1367
2025-02-27T10:35:36.7339517Z         	Error:      	Received unexpected error:
2025-02-27T10:35:36.7340073Z         	            	exit status 1
2025-02-27T10:35:36.7340628Z         	Test:       	TestCoreInstallWithWrongArchiveSize
2025-02-27T10:35:38.3263830Z --- FAIL: TestCoreInstallWithWrongArchiveSize (10.14s)

There is a regression in golang 1.24.0: golang/go#71752, we need to wait for go1.24.1.

@cmaglie cmaglie marked this pull request as draft February 27, 2025 10:55
Copy link

codecov bot commented Mar 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.86%. Comparing base (7271e0a) to head (fb291ee).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2850   +/-   ##
=======================================
  Coverage   67.86%   67.86%           
=======================================
  Files         238      238           
  Lines       22412    22412           
=======================================
  Hits        15209    15209           
  Misses       6007     6007           
  Partials     1196     1196           
Flag Coverage Δ
unit 67.86% <ø> (ø)

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.

@cmaglie cmaglie force-pushed the updatego branch 4 times, most recently from f5cacde to 06f4c98 Compare March 31, 2025 12:20
@cmaglie cmaglie changed the title Upgrade golang version to 1.24 Upgrade golang version to 1.24.1 Mar 31, 2025
@cmaglie cmaglie marked this pull request as ready for review March 31, 2025 12:50
@cmaglie cmaglie requested a review from a team March 31, 2025 12:51
@cmaglie cmaglie merged commit 9495b31 into arduino:master Mar 31, 2025
106 checks passed
@cmaglie cmaglie deleted the updatego branch April 3, 2025 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants