RepoJournal
Go

@golang

Go and the standard library - backend infrastructure at scale

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Go Infrastructure Full archive →

The Wire · Showcase

GOPLS CLEARS PROTOCOL CLUTTER WHILE TOOLS CHAIN TACKLES MODULE MODERNIZATION

By RepoJournal · Filed · About Go

gopls shipped a cleanup that removes hand-written protocol overrides, clearing technical debt just as the modernize analyzer gains new teeth to strip obsolete import comments from module-based Go code.

The tools team took out redundant manual renames in gopls' protocol layer [1], eliminating code that was already handled by generation. Meanwhile, the modernize analyzer got a new importcomment pass [2] that removes canonical import path comments, which are dead weight in any module-based project. The go command never enforced them post-modules anyway, so this cleanup is overdue. gopls is also gaining a memoryLimit setting [3] that lets you trade CPU cycles for lower steady-state memory usage via runtime/debug.SetMemoryLimit, though the feature is still experimental and needs careful tuning to avoid GC thrashing. On the test reliability front, two flaky gopls tests got fixed [4] by building the module index deterministically instead of relying on background goroutines to finish in time. pkg.go.dev is already testing Go 1.27rc1 in Cloud Build [6], and http/3 support landed ResponseController methods for deadline and flush control [5], closing a gap between HTTP/3 and standard net/http semantics.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] gopls/internal/protocol/generate: remove manual rename overwritten golang/tools
  2. [2] go/analysis/passes/modernize: add importcomment analyzer golang/tools
  3. [3] gopls/internal/server: add memoryLimit setting golang/tools
  4. [4] gopls/internal/test/misc: Fix two flaky tests golang/tools
  5. [5] internal/http3: add net/http.ResponseController support golang/net
  6. [6] deploy: update Cloud Build Go version to 1.27rc1 golang/pkgsite

Quick answers

What shipped in Go on July 7, 2026?
gopls shipped a cleanup that removes hand-written protocol overrides, clearing technical debt just as the modernize analyzer gains new teeth to strip obsolete import comments from module-based Go code. In total, 9 commits and 1 pull requests landed.
What were the notable Go updates?
gopls/internal/protocol/generate: remove manual rename overwritten, go/analysis/passes/modernize: add importcomment analyzer, and gopls/internal/server: add memoryLimit setting.

More from @golang

Daily updates, in your inbox

Follow Go

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.