Skip to content

[deps] Update golang.org/x/tools from v0.45.0 to v0.46.0 #38819

@github-actions

Description

@github-actions

Summary

A new minor version of golang.org/x/tools is available. This is a direct dependency listed in go.mod.

Field Value
Package golang.org/x/tools
Current v0.45.0
Proposed v0.46.0
Update type Minor (0.45 → 0.46)
Released 2026-06-11

Why a Separate Issue

This is a minor version bump. Minor version increments in golang.org/x/tools often include new tooling APIs, new analyzers, or behavior changes in existing tools (e.g., go/packages, go/ssa, golang.org/x/tools/go/analysis). Manual review is warranted to verify no callers need updating.

Safety Assessment

⚠️ Tier B — Potentially Problematic. Minor version bump; may include new APIs, deprecations, or behavior changes to existing tool APIs used in this codebase. Safety unclear without reviewing the commit diff.

Links

Update Command

go get golang.org/x/tools@v0.46.0 && go mod tidy

Test Notes

  • Run make test after applying the update.
  • Check that any callers of golang.org/x/tools/go/packages, go/analysis, go/ssa, or other sub-packages still compile and pass tests.
  • Review the golang/tools commit log between v0.45.0 and v0.46.0 for API-breaking changes.

References: §27410922450

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • go.googlesource.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "go.googlesource.com"

See Network Configuration for more information.

Generated by 🔧 Dependabot Dependency Checker · 424.5 AIC · ⌖ 13.7 AIC · ⊞ 26.8K ·

  • expires on Jun 14, 2026, 2:56 AM UTC-08:00

Metadata

Metadata

Labels

cookieIssue Monster Loves Cookies!dependenciesPull requests that update a dependency filedepsgo

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions