What broke
With goroutine IDs enabled, the pretty-print formatter wrote each ID at its natural width. As different goroutines logged messages, the message column moved back and forth, making interleaved output harder to scan.
How I tested it
Real goroutine IDs cannot be chosen on demand, so I exercised the padding helper with IDs of different widths. I also checked a real emitted header and verified that resetting the logger clears the remembered width.
What the maintainer merged
On November 11, 2026, gabe-l-hart merged right-padding to the widest ID observed so far. The formatter updates that width atomically while holding its existing read lock. JSON output keeps the numeric thread ID.