feat(salesforce): add Salesforce connector with sync, permissions and actions - #423
Open
prvnsmpth wants to merge 9 commits into
Open
feat(salesforce): add Salesforce connector with sync, permissions and actions#423prvnsmpth wants to merge 9 commits into
prvnsmpth wants to merge 9 commits into
Conversation
prvnsmpth
commented
Aug 19, 2026
Contributor
- Adds a new Salesforce connector indexing Accounts, Contacts, Opportunities, Leads, Cases, and Tasks into Omni
- Implements full, incremental, and realtime sync with resumable per-object checkpointing and watermark invalidation on config changes
- Mirrors Salesforce sharing faithfully (owners, queues, role hierarchy, manual/rule shares) via person/group events
- Adds search operators, read/write actions, and admin setup UI; migration 112 registers the new source type
… actions - New omni-salesforce-connector: full, incremental (watermark + keyset) and realtime polling sync with per-object checkpointing and schema fingerprint watermark invalidation - Mirror Salesforce visibility faithfully: owners, queues, role hierarchy, manual/rule shares, OWD public-read, plus person and group sync - Structured attributes and search operators (owner, status, priority, stage, account, industry, lead_source); in:salesforce/(sf) searcher alias - Typed records/client/actions (no dict[str, Any]); mypy strict + ruff clean - Web integration UI, docker compose/dev/env, CI build + migration 112
prvnsmpth
force-pushed
the
feature/salesforce-connector
branch
from
August 19, 2026 08:57
3c1e72a to
24c6408
Compare
- Add SalesforceAuth (typed credentials) with two modes: static bearer token (quick trials) and JWT bearer flow (client_id + private_key + username) which mints and auto-refreshes access tokens on expiry/401 - wire sync and actions through the new auth; keep bearer mode working
- mock token endpoint + one-shot 401 control in the test harness - 8 JWT tests: credential parsing, RS256 assertion shape, token minting, 401-driven re-auth, bearer mode does not self-heal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.