Skip to content

go: Go SDK 1.26.10 -> 1.27.4 (part of #10831) - #12297

Merged
TrapsterDK merged 5 commits into
mainfrom
deps-10831-go-1-27
Nov 16, 2026
Merged

TrapsterDK merged 5 commits into
mainfrom
deps-10831-go-1-27

Conversation

@TrapsterDK

@TrapsterDK TrapsterDK commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Go SDK 1.26.10 -> 1.27.4 (MODULE.bazel, core/modules/versions.bzl, MODULE.bazel.lock per-platform go_sdk entries). Fixes Windows go fuzz, runfiles manifest, gotype and unit tests; lock-refresh.yml uses producers_bin.

Part of #10831.

Tests: //go/private/tools/analysis/gotype/..., //go/private/tools/analysis/unit/..., //go/tests/fixtures/cgo/..., //core/modules/... on Linux: pass except cargo_manifests_test, loaders_test (cargo manifests, elfutils/zlib/toml deps; untouched by this PR). Linux lock regenerates with no diff. Nested-Bazel and consumer tests not run.
Evidence: 43827371971 green on windows_x86_64, windows_arm64. macos_arm64 //go/tests/conformance:conformance_upstream analysis failure (gcov_gcno_file) is a main failure: main run 43833670019 fails identically.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzwNN9Q3DFZx18pNic

@TrapsterDK TrapsterDK added the needs-review Touches review paths; needs a second-session Review: comment label Nov 12, 2026
@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Rebased onto origin/main (clean, no lock conflict; local Bazel lock regeneration not completed because the host memgate queue blocked it). Dispatched evidence run 43221397821: windows_x86_64, //go/... test, lock_refresh=true. Its lock/ artifact carries the os:windows,arch:amd64 go_sdk entry. Still needed: lock-refresh.yml dispatch (owner) for linux arm64, osx and windows arm64 go_sdk entries, which still name 1.26.10. Consumer and nested-Bazel tests not run locally.

@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Run 43221397821 failed only at the lock-refresh step (windows amd64 go_sdk entry stale). Committed that entry from its lock/ artifact, rebased onto origin/main (clean; Linux lock regenerates with no diff), dispatched run 43235525452 (windows_x86_64, //go/..., lock_refresh=true). Local failure not from this PR: //go/private/tools/analysis/cmd/dx_staticcheck:dx_staticcheck_test_upstream (runfiles/_main: is a directory). Still needed: lock refresh for linux arm64, osx arm64, windows arm64 go_sdk entries.

@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Rebased onto origin/main. Conflict: proto_bindings fragment kept main side (go_sdk dropped by #12774); linux amd64 lock regenerated with Bazel; dropped the stale windows amd64 lock commit. Blocker: go_sdk lock entries for linux arm64, osx arm64, windows amd64 and windows arm64 need a lock-refresh.yml dispatch (pr=12297); CI runs those platforms with --lockfile_mode=error. Windows //go/... evidence (run 43235525452) had 3 test failures to recheck after that.

@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Rebased onto origin/main (clean; Linux lock regenerates with no diff). Scoped tests pass; core/modules python_budget_test, versions_contract, loaders_test also fail on origin/main (not this PR). Dispatched evidence run 43820049827 (windows_x86_64, windows_arm64, macos_arm64, linux_arm64; //go/... //tools/testing/conformance/... //cli/fuzz_run/... test, lock_refresh=true).

@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Rebased onto origin/main; MODULE.bazel.lock regenerated with Bazel (msvc_runtime/windows_sdk digest drift). Run 43820049827 Windows failure was //go/tests/fixtures/cgo:cgo and :cxx failing analysis by design under clang-cl (pre-existing, not SDK-related): those libraries are now incompatible on Windows outside the unsupported_toolchain_test probes (new :unsupported_probe flag). macOS failure (//go/tests/conformance:conformance_upstream, gcov_gcno_file) also fails on main run 43663021182, not this PR. Local: //go/tests/fixtures/cgo/..., gotype, unit tests pass. Dispatched evidence 43827371971 (windows_x86_64, windows_arm64, macos_arm64; lock_refresh).

TrapsterDK and others added 5 commits November 16, 2026 09:44
Pins all six host archives by sha256 from go.dev.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hwH5AS7ytCaBAYwEtU
…resh uses producers_bin (part of #10831)

- fuzz_run: run Go fuzz binaries with GO_TEST_WRAP=0 so rules_go's
  Windows wrapper does not move the working directory away from the
  corpus dir.
- conformance runner_test: manifest keys use '/' separators.
- gotype_test: JSON-encode the source path.
- lock-refresh.yml: merge with producers_bin --lock-merge;
  tools/ci/lock_merge.sh no longer exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hvuiHK9vSNJZWiqKfX
From lock-refresh run 43661268296.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hvuiHK9vSNJZWiqKfX
… survive (part of #10831)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hvuiHK9vSNJZWiqKfX
…upported-toolchain probes (part of #10831)

//go/tests/fixtures/cgo:cgo and :cxx fail analysis by design under the
default clang-cl toolchain on Windows. They now carry a
target_compatible_with that admits linux, macos, or the new
:unsupported_probe flag, which the unsupported_toolchain_test failure
tests set, so a Windows //go/... run skips them while the failure tests
still reach the cgo validation. MODULE.bazel.lock regenerated with Bazel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hzwNN9Q3DFZx18pNic
@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

Rebased onto origin/main (versions.bzl conflict: kept main TESTED_PROTOBUF 37.0-rc3 with GO_SDK_VERSION 1.27.4; lock regenerates with no diff). macOS conformance_upstream gcov_gcno_file failure reproduced on main: run 43833670019. Not caused by this PR.

@TrapsterDK
TrapsterDK marked this pull request as ready for review November 16, 2026 08:53
@TrapsterDK
TrapsterDK merged commit 62ff98d into main Nov 16, 2026
1 check failed
@TrapsterDK
TrapsterDK deleted the deps-10831-go-1-27 branch November 16, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review Touches review paths; needs a second-session Review: comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant