fix: address coderabbit review findings

This commit is contained in:
lda
2026-06-06 20:49:42 +07:00 Verified
parent 79a3ee4c7a
commit c0bc197fc4
8 changed files with 40 additions and 41 deletions
@@ -164,7 +164,7 @@ class SourceRegistryAdminProvider(WorkflowSourceRegistryMutationProvider):
for source_id in sorted(after):
diagnostic = connection_auth_diagnostic(
after[source_id],
load_auth=self.load_auth,
load_auth_ref=self.load_auth,
)
if diagnostic is not None:
auth_diagnostics.append(diagnostic.model_dump(mode="json"))
@@ -312,7 +312,9 @@ class UpstreamTransportService:
continue
auth_diagnostic = connection_auth_diagnostic(
connection,
load_auth=self.load_auth,
# The diagnostic helper passes the explicit auth_ref to this
# loader, matching load_connection_auth's auth_ref-first path.
load_auth_ref=self.load_auth,
logical_ref=logical_ref,
)
if auth_diagnostic is not None: