Skip to content

E1 — Salesforce commercial connector: finish onboarding and extraction reliability #511

Not planned

Description

@athvin

Product stack rank 8 of 37 · roadmap #1008 · priority P1 · release salesforce-launch

Outcome

Make Salesforce the first commercial adapter to the configurable deduplication API. The shared dataset, configuration, delivery, job and result contracts are the product foundation. Salesforce distribution is its own workstream.

Verified foundation and remaining work

The old claim that this repository has no Salesforce implementation is obsolete. salesforce_connection, connection CRUD, salesforce.rs, extract_params, extraction jobs and persisted cursors exist; #512 is closed. Initial extraction uses client credentials; delegated writeback authorization is separate (#994).

Depends on the API foundation (#857, #1010, #523, #521). Can validate adapter work in parallel, but Salesforce semantics cannot become prerequisites for generic API use. Writeback is #514. AppExchange distribution is #602; managed-package UX is #517. Historical estimate cleared pending a gap audit.

Historical planning — superseded scope, ordering and estimates

Epic E1 from the DataGroomr Feature Parity Spec · spec phase 0 · historical parity rank 1 of 30

Spec units Arch rows Auth, Connected-app, Multi-org; 6.12, 6.13
Spec size (greenfield) 8 eng-weeks
Our coverage today ~0%
Estimated remaining 8.0 eng-weeks (0% saved by what exists)
Owning component Rust sf-gateway (OAuth, Bulk API 2.0, metadata cache); Terraform NAT with fixed EIPs
Release mvp

What we already have

Nothing. A grep for salesforce/sfdc/sobject/bulk api across rust/, frontend/src and entities/ returns zero files.

What is missing

The entire gateway: OAuth connected app, Bulk API 2.0 client, metadata cache, per-org credential storage, sandbox support, and fixed-EIP egress so customers can IP-allowlist us.


Coverage and remaining-weeks figures are an estimate made by reading this repo against the spec on 2026-11-05, not numbers from the spec itself — the spec sizes everything as greenfield. Treat them as a planning input, not a commitment. Spec unit numbers (e.g. 1.6-1.12) refer to the pillar tables in the linked document.

Activity

  1. added
    mvp
    epic
    on Nov 5, 2026
  2. athvin commented on Nov 5, 2026

    @athvin
    OwnerAuthor

    The design is not greenfield. docs/connectors.md §4.1 already specifies this epic's ingress in detail: OAuth 2.0 connected app (web-server flow), one connection = one Salesforce org, sandbox connections supported, tokens in the secret store; Lead and Contact first (Account second, blocked on the organization entity type — #547); initial sync via Bulk API 2.0 extracting only mapped fields as part of the security answer; each object becomes one engine source (sf_contact, sf_lead) with record_id_column = Id and updated_at_column = SystemModstamp; and the mapping UI's output compiles directly into a sources: config block.

    So the 8 remaining weeks are implementation, not design. Also note §4.1's warning that Salesforce-as-login (human SSO via OIDC, #559/#560) and the Salesforce connector share a vendor, not a code path.

  3. athvin commented on Nov 5, 2026

    @athvin
    OwnerAuthor

    Connected App requirements the design does not yet mention. Researched while resolving #517; these constrain this epic's OAuth implementation rather than following it:

    • Avoid deprecated flows — device, implicit, username/password are all disallowed for review. connectors.md §4.1 already specifies the web-server (authorization-code) flow, which is correct.
    • Least privilege on scopes, and rotate client ID and secret regularly — so the connected app's credentials need a rotation path, not just storage.
    • Document how secrets are secured. §4.1 says tokens live in the secret store; the review wants that written down.
    • Working credentials must be submitted for the review, including for our own REST API.
    • ⚠️ Unverified but material: a Partner Community page appears to make PKCE and refresh-token rotation mandatory for partner Connected Apps as of 2026-05-11, already past. The page is behind partner login; the public help article does not mention it. Check before building the flow — retrofitting PKCE is more expensive than starting with it.

    The AppExchange gate itself is now tracked as its own card, and it is a security review rather than a managed package (see #517).

  4. changed the title [-]E1 — Salesforce connectivity, tenancy, sandboxes[/-] [+]E1 — Salesforce commercial connector: finish onboarding and extraction reliability[/+] on Nov 9, 2026
  5. added
    salesforce-launch
    and removed
    mvp
    on Nov 9, 2026
  6. added
    pruned
    on Nov 27, 2026
  7. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the 2026-11-26 board prune. The board now targets a deduplication tool that works the same whatever the data's source. This card is Salesforce-specific, so it isn't needed for that. It's labelled pruned and can be reopened if it becomes relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicprunedsalesforce-launch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions