Skip to content

fix(deps): hold golang.org/x/tools at v0.52.0 - #364

Merged
tbhb-agent merged 1 commit into
mainfrom
agent/r16-xtools-pin
Nov 23, 2026
Merged

tbhb-agent merged 1 commit into
mainfrom
agent/r16-xtools-pin

Conversation

@tbhb-agent

Copy link
Copy Markdown
Contributor

Why

#349 raised golang.org/x/tools to v0.53.0. A consumer that took the new rules pin then failed to compile its Go analyzer driver, with not enough arguments in call to facts.NewDecoder. Every consumer inherits this version from the module graph in go/MODULE.bazel.

Behavior change

  • go/go.mod and go/go.sum return to golang.org/x/tools v0.52.0 and the indirect versions that came with it.
  • A Renovate rule limits golang.org/x/tools to versions below 0.53.0. A comment on the rule says when to lift it.

Decisions

  • The change reverts the dependency. The pinned rules_go is 0.65.0, the latest release, so no newer release supports the API change.
  • The Renovate rule stops the bump from coming back before rules_go supports it.

Risk

The cause comes from the compiler error and the dependency timeline. No target in this repository compiles the analyzer driver, so the failure didn't reproduce here. The consumer's build is the real check. A follow-up adds a rules build that covers it.

Verification

  • The run's gate passed 276 of 276 tests, and the separate Go dead-code suite passed 3 of 3.
  • The @rules_go//:tools_nogo target built against v0.52.0 from the Go workspace.

Opened-by: LLM effort=medium;harness=claude-code:2.1.330;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli
Generated-by: LLM harness=codex;model=openai:gpt-6.2-sol
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:d4ae5c1dc250d1ed;surface=exec
Assisted-by: LLM effort=medium;harness=claude-code:2.1.330;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli

Generated-by: LLM harness=codex;model=openai:gpt-6.2-sol
Generated-by: LLM effort=high;harness=codex:0.171.0;model=openai:gpt-6.2-sol;session=sha-256-64:d4ae5c1dc250d1ed;surface=exec
@tbhb-agent
tbhb-agent merged commit dd020c1 into main Nov 23, 2026
58 checks passed
@tbhb-agent
tbhb-agent deleted the agent/r16-xtools-pin branch November 23, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant