Skip to content

Pin blink modernize analyzer to gopls v0.23.0 - #213

Merged
TomasVotruba merged 1 commit into
mainfrom
fix-blink-modernize-pin
Oct 20, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
fix-blink-modernize-pin

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

The analysis job's gopls modernize step runs ...modernize/cmd/modernize@latest. gopls v0.24.0 removed that package path and now requires Go >= 1.27, so the step fails on every PR:

go: .../modernize/cmd/modernize@latest: module gopls@latest found (v0.24.0),
but does not contain package .../modernize/cmd/modernize

Pin to v0.23.0 — the last release that still ships the command and builds with the Go version CI uses (1.26.9). Runs clean (exit 0) locally.

gopls v0.24.0 removed the modernize/cmd/modernize package path and
requires Go >= 1.27, so the @latest run breaks the analysis job on every
PR. Pin to v0.23.0, the last release that ships the command and builds
with the Go version used in CI.
@TomasVotruba
TomasVotruba merged commit 5417480 into main Oct 20, 2026
17 checks passed
@TomasVotruba
TomasVotruba deleted the fix-blink-modernize-pin branch October 20, 2026 20:56
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