Automo.ai

none (migration report reliability)

The Salesforce parity check's leads step called salesforce_import_contacts_by_merged_id, which 20261028100125 dropped when the merge links moved into salesforce_merged_leads. Any org holding a converted or merged lead therefore hit PGRST202 and threw "merged lead lookup failed", so the post-import report never finished. Read the links from salesforce_merged_leads instead, through the existing contactsByMergedLead helper (workspace-scoped, batched to 200 ids per read, one indexed lookup plus one primary-key read of hub_contacts, service role as before). A shard that has not received the table yet returns nothing rather than throwing, as before. Audit of the other RPCs called from supabase/functions: checked ~110 distinct names against pg_proc on the AP web and Mobile US shards. Only clarity-increment-session-counters is also absent, and that call already documents and performs a plain-update fallback when the function is missing, so it is left alone.

Fix · Platform ·

The Salesforce parity check's leads step called salesforce_import_contacts_by_merged_id, which 20261028100125 dropped when the merge links moved into salesforce_merged_leads. Any org holding a converted or merged lead therefore hit PGRST202 and threw "merged lead lookup failed", so the post-import report never finished. Read the links from salesforce_merged_leads instead, through the existing contactsByMergedLead helper (workspace-scoped, batched to 200 ids per read, one indexed lookup plus one primary-key read of hub_contacts, service role as before). A shard that has not received the table yet returns nothing rather than throwing, as before. Audit of the other RPCs called from supabase/functions: checked ~110 distinct names against pg_proc on the AP web and Mobile US shards. Only clarity-increment-session-counters is also absent, and that call already documents and performs a plain-update fallback when the function is missing, so it is left alone.

December 2026 · Releases & improvements

Shared folders now open as a visual grid · The Suppliers tab in Finance now respects view-only roles

Platform

Explore every capability · Pricing