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

Cache Go processes using full version string #19558

Merged
merged 3 commits into from
Aug 14, 2023

Conversation

jyggen
Copy link
Member

@jyggen jyggen commented Aug 7, 2023

Go seems to dislike reusing complied code between patch versions, as mentioned here. This changes the cache key injected into each Go process so it contains the full version string, instead of just major and minor.

before: 1.20/darwin/arm64
 after: go1.20.6/darwin/arm64

@jyggen jyggen requested a review from tdyas August 7, 2023 13:41
@jyggen jyggen added the category:bugfix Bug fixes for released features label Aug 7, 2023
Copy link
Sponsor Contributor

@benjyw benjyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but would love to get @tdyas's thoughts just in case.

@tdyas
Copy link
Contributor

tdyas commented Aug 9, 2023

Seems fine to me.

@tdyas tdyas self-assigned this Aug 11, 2023
@benjyw benjyw merged commit 3bbf36f into pantsbuild:main Aug 14, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants