Skip to content

bump go version to 1.24#513

Closed
ESoapW wants to merge 1 commit intofacebook:mainfrom
ESoapW:export-D101811003
Closed

bump go version to 1.24#513
ESoapW wants to merge 1 commit intofacebook:mainfrom
ESoapW:export-D101811003

Conversation

@ESoapW
Copy link
Copy Markdown
Contributor

@ESoapW ESoapW commented Apr 21, 2026

Summary:
Unbreak GH lint check, which fails on D100332220 because it uses strings.SplitSeq (Go 1.24+) but the github mirror was pinned to 1.23.

Going to 1.24 (not 1.26 to match internal) because the github toolchain ecosystem isn't there yet — golangci-lint v1.64.8 was built with Go 1.24 and Fedora packit ships Go 1.25.9, so a 1.26 bump breaks both. 1.24 is the minimum to allow strings.SplitSeq while keeping downstream consumers happy.

Also pre-allocates two slices in sa53fw/detect/detect.go that GH prealloc lint surfaced once it could get past the typecheck failure (these warnings are silent under internal lint because Meta's arc lint config doesn't enable prealloc).

Differential Revision: D101811003

Summary:
Unbreak GH lint check, which fails on D100332220 because it uses `strings.SplitSeq` (Go 1.24+) but the github mirror was pinned to 1.23.

Going to 1.24 (not 1.26 to match internal) because the github toolchain ecosystem isn't there yet — golangci-lint v1.64.8 was built with Go 1.24 and Fedora packit ships Go 1.25.9, so a 1.26 bump breaks both. 1.24 is the minimum to allow `strings.SplitSeq` while keeping downstream consumers happy.

Also pre-allocates two slices in sa53fw/detect/detect.go that GH `prealloc` lint surfaced once it could get past the typecheck failure (these warnings are silent under internal lint because Meta's arc lint config doesn't enable prealloc).

Differential Revision: D101811003
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 21, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 21, 2026

@ESoapW has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101811003.

@ESoapW
Copy link
Copy Markdown
Contributor Author

ESoapW commented Apr 21, 2026

Test succeeded and commit has been merged

@ESoapW ESoapW closed this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant