-
Notifications
You must be signed in to change notification settings - Fork 535
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
Cache restore fails with go 1.23 #506
Comments
Hello @arodland 👋, |
Hi @arodland, The issue you're facing during cache restoration is due to the telemetry update in Go 1.23.0. This update includes files (config.json, go.mod, LICENSE, doc.go) that already exist in the golang.org/x/telemetry directory, causing conflicts. When restoring the cache, these existing files prevent the tar command from completing successfully, resulting in "File exists" errors. We have observed that the error related to extracting telemetry files is not present in Go version 1.23.1. Attached a screenshot for your reference This suggests that the issue might have been resolved in the newer release.
|
Hi @arodland, Just a gentle reminder regarding this issue, If you have any updates or need further assistance, Please let us know. |
I can confirm that the issue doesn't occur with go 1.23.1, and I suppose that's good enough. Closing. |
Temporarily set go-version explicitly to avoid hitting this cache restore issue [^1]. We can revert this when Go 1.24 gets released. Also modify kind.yaml to install Cilium CLI using the local action. [^1]: actions/setup-go#506 Signed-off-by: Michi Mutsuzaki <[email protected]>
Temporarily set go-version explicitly to avoid hitting this cache restore issue [^1]. We can revert this when Go 1.24 gets released. Also modify kind.yaml to install Cilium CLI using the local action. [^1]: actions/setup-go#506 Signed-off-by: Michi Mutsuzaki <[email protected]>
Temporarily set go-version explicitly to avoid hitting this cache restore issue [^1]. We can revert this when Go 1.24 gets released. Also modify kind.yaml to install Cilium CLI using the local action. [^1]: actions/setup-go#506 Signed-off-by: Michi Mutsuzaki <[email protected]>
Description:
Cache restore is failing with a tar error whenever we build a project with go 1.23
Action version:
v5.0.2
Platform:
Runner type:
Tools version:
go 1.23.0
Repro steps:
Build a repo with
go 1.23.0
in go.mod,and an existing cache.
Expected behavior:
The cache is restored.
Actual behavior:
The text was updated successfully, but these errors were encountered: