chore: clarify source ownership observability

This commit is contained in:
lda
2026-06-04 17:55:46 +07:00 Unverified
parent 00305c1398
commit 65ac9c5c0f
3 changed files with 16 additions and 0 deletions
@@ -101,6 +101,15 @@ class ConnectionService:
connection.source_config_ownership == "seed"
and registry_entry is not None
):
self.events.record_kind(
"source_registry_seed_existing_entry_wins",
connection_id=registry_entry.id,
payload={
"server": registry_entry.provider,
"account": registry_entry.account,
"reason": "seed_config_yields_to_registry_entry",
},
)
merged_connections.append(
registry_entry_to_connection_config(registry_entry)
)