Some checks failed
Deploy / deploy (push) Has been cancelled
Package-level slog.With() vars are evaluated at init time, before observability.InitLogger() runs in main. They captured the original default slog handler and bypassed the countingHandler that increments log_messages_total — so warn/error calls from these packages weren't being counted. Convert to functions so each call resolves slog.Default() at use time and inherits the active counting handler. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>