Handle nested child syncs #2220

Merged
zachgoll merged 1 commits from zachgoll/nested-syncs into main 2025-05-08 06:12:08 +08:00
zachgoll commented 2025-05-08 06:02:50 +08:00 (Migrated from github.com)

When queueing up a "Family sync", we perform the following operations:

  1. Family queues up "Plaid Item syncs" and "Manual account syncs"
  2. Plaid item syncs will perform the data syncing work with Plaid, then and only then queue up child "Account syncs"

Our previous logic was not properly linking the child Account syncs to the Plaid Item; causing orphaned sync records

When queueing up a "Family sync", we perform the following operations: 1. Family queues up "Plaid Item syncs" and "Manual account syncs" 2. Plaid item syncs will perform the data syncing work with Plaid, *then and only then* queue up child "Account syncs" Our previous logic was not properly linking the child Account syncs to the Plaid Item; causing orphaned sync records
Sign in to join this conversation.