You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
E9: durable extraction-to-source provenance for writeback eligibility #1296
Child of #514, prerequisite of #993 (its "Implementation findings" require durable extraction-to-source provenance before a preview member may acquire a connection/object identity).
The only durable link from a lake ingest_batch_id (= the run/job id) to a Salesforce connection is the Postgres job AdvanceSfCursor enqueues; raw_records carries source/payload/batch only and the import.extract audit is best-effort.
Acceptance
source_delivery_provenance (Postgres entity): run_id, delivery_id, source, connection_id, object, delivery/source hashes; unique per (dataset_id, run_id) and (dataset_id, delivery_id).
Written in the SAME transaction as the extract's job enqueue; a retry converges (no duplicate, refuses a conflicting identity).
Reads by run ids, and distinct connections per source (a source reused against a second connection is detectable).
A pushed/uploaded delivery's run has no provenance row.
Activity
feat(writeback): durable extraction-to-source provenance (#1296)
feat(writeback): materialize Salesforce merge previews from resolutio…
feat(writeback): materialize Salesforce merge previews from resolutio…