Go: Database Deadlock Fix and Linker Docs

Four pull requests focus on reliability, led by a fix for a self-deadlock in the standard database package. A runtime test deflake and a linker documentation update round out the day.

Duration: PT2M17S

Episode overview

This episode is a short developer briefing from Go.

It explains recent repository work in plain language.

  • Show: Go
  • Published: 2026-09-21T13:08:33Z
  • Audio duration: PT2M17S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, it's September 21st, 2026.

The signal today is locking and reliability, with the highest-impact fix preventing an unrecoverable hang in the standard database package.

First, deadlocks. In pull request 81615, a transaction on a database connection holds a read lock for the life of that transaction, only releasing on commit or rollback. If low-level raw access on that same connection then reported a bad connection, the cleanup path tried to take a write lock from the same goroutine…

Related, but test-only, pull request 81624 deflakes the runtime test for finalizer or cleanup deadlock. Those tests were intermittently failing with stack unavailable errors because panic traces don't stop the world, and the finalizer could still be starting up when the panic fired. A short ten-millisecond pause…

Second, small clarity for builders. Pull request 81619 updates the documentation for the linker's external archive flag, which still described the default as plain A R. Since an earlier change, the linker actually asks the C compiler to locate the archive tool, falling back only if unsupported. The new text…

Finally, pull request 81617 around corpus identifiers is broad and light on…

Nearby episodes from Go

  1. Weekly Recap - Edge-Case Hardening and Runtime Efficiency
  2. Loong64 Hardening and RISC-V Optimization
  3. Predictable Output, Faster Runtime
  4. Correctness Cleanups Across Compiler and Runtime
  5. Extreme Values Expose Integer Overflow Bugs
  6. Edge-Case Bugs That Corrupt State
  7. Idle Connections Get Lighter
  8. LoongArch Gets a Tune-Up