From b99931dd3ec97e8e0dffc6e2a3cc3f7fdb4c207b Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Wed, 29 Jul 2026 16:51:37 -0700 Subject: [PATCH] atproto: quiet resolved-ident, announce newly discovered users "resolved ident" fires on every identity lookup (which the sweep does tens of thousands of times) and carried no per-user news; it is Debug now. In its place, one Info line the first time a repo row is created for a user -- "discovered new user" with did/handle/pds -- which fires exactly once per user at the moment we start tracking them. Co-Authored-By: Claude Fable 5 --- pkg/atproto/atproto.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/atproto/atproto.go b/pkg/atproto/atproto.go index d82c3a6bd..ce2151fbf 100644 --- a/pkg/atproto/atproto.go +++ b/pkg/atproto/atproto.go @@ -99,6 +99,7 @@ func (atsync *ATProtoSynchronizer) SyncBlueskyRepo(ctx context.Context, handle s if err != nil { return nil, fmt.Errorf("failed to add repo to stateful DB for %s: %w", ident.DID.String(), err) } + log.Log(ctx, "discovered new user", "did", ident.DID.String(), "handle", ident.Handle.String(), "pds", ident.PDSEndpoint()) } log.Log(ctx, "resolved bluesky identity", "did", ident.DID, "handle", ident.Handle, "pds", ident.PDSEndpoint()) @@ -327,7 +328,7 @@ func (atsync *ATProtoSynchronizer) resolveIdent(ctx context.Context, arg string, if err != nil { return nil, err } - log.Log(ctx, "resolved ident", "id", resolvedID.DID.String(), "handle", resolvedID.Handle.String()) + log.Debug(ctx, "resolved ident", "id", resolvedID.DID.String(), "handle", resolvedID.Handle.String()) return resolvedID, nil } -- 2.51.2