Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e00a0cb
feat: add integration.sync_units control table
mbani01 Aug 11, 2026
f5dafd7
feat: add sync units data access layer
mbani01 Aug 11, 2026
f41df42
feat: add integration-builder lib with connector registry
mbani01 Aug 11, 2026
5062058
fix: skip sync units of soft-deleted integrations when claiming
mbani01 Aug 11, 2026
327d6d0
feat: add getCredential facade
mbani01 Aug 11, 2026
4daecd3
fix: export integration builder DAL from package root
mbani01 Aug 11, 2026
31d697f
style: fix prettier formatting in credentials facade
mbani01 Aug 11, 2026
94901f8
refactor: rename integration-builder to connectors
mbani01 Aug 11, 2026
d681c11
feat: add connectors worker with dispatcher workflow
mbani01 Aug 11, 2026
8b22542
feat: add sync-run workflow with dummy connector
mbani01 Aug 11, 2026
ff1248f
feat: add connectors worker docker setup
mbani01 Aug 12, 2026
ab10d0c
fix: rethrow sync run errors so temporal reflects failures
mbani01 Aug 12, 2026
9de976f
feat: add connectors http core with error taxonomy
mbani01 Aug 12, 2026
f76efcc
fix: guard heartbeat callback and add connectors worker dockerignore
mbani01 Aug 12, 2026
8a1391b
fix: restrict rate limit detection to unambiguous signals
mbani01 Aug 12, 2026
5e4117a
fix: always apply pooled token in http client auth
mbani01 Aug 12, 2026
b582876
fix: add default http timeout and narrow claimed unit payload
mbani01 Aug 12, 2026
fac2c62
feat: add redis token pool for connectors
mbani01 Aug 13, 2026
032d4cd
feat: add token budgets with dispatcher admission
mbani01 Aug 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
CREATE TABLE IF NOT EXISTS integration.sync_units (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
"integrationId" UUID NOT NULL REFERENCES public.integrations(id),
platform TEXT NOT NULL,
"channelId" TEXT NOT NULL,
"channelName" TEXT NOT NULL,
"syncName" TEXT NOT NULL,
status TEXT NOT NULL DEFAULT 'active'
CHECK (status IN ('active','paused','dead_letter','decommissioned')),
"nextRunAt" TIMESTAMPTZ NOT NULL DEFAULT now(),
"lockedAt" TIMESTAMPTZ,
"lastRunAt" TIMESTAMPTZ,
"lastSuccessAt" TIMESTAMPTZ,
"consecutiveFailures" INT NOT NULL DEFAULT 0,
"lastErrorClass" TEXT,
watermark JSONB,
"emittedCount" INT,
"createdAt" TIMESTAMPTZ NOT NULL DEFAULT now(),
"updatedAt" TIMESTAMPTZ NOT NULL DEFAULT now(),
UNIQUE ("integrationId", "channelId", "syncName")
);

CREATE INDEX IF NOT EXISTS "ix_sync_units_due"
ON integration.sync_units ("nextRunAt")
WHERE status = 'active';
147 changes: 107 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/cli
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ while test $# -gt 0; do
exit
;;
clean-start-fe-dev)
IGNORED_SERVICES=("frontend" "python-worker" "job-generator" "webhook-api" "profiles-worker" "organizations-enrichment-worker" "merge-suggestions-worker" "members-enrichment-worker" "exports-worker" "entity-merging-worker" "cache-worker" "categorization-worker" "cron-service" "data-sink-worker" "git-integration" "mailing-list-integration" "integration-run-worker" "integration-stream-worker" "nango-webhook-api" "nango-worker" "script-executor-worker" "search-sync-api" "search-sync-worker" "security-best-practices-worker" "snowflake-connectors-worker" "automatic-projects-discovery-worker" "pcc-sync-worker" "projects-evaluation-worker" "bq-dataset-ingest" "cargo-worker" "dockerhub-sync" "github-repos-enricher" "go-worker" "maven-worker" "npm-worker" "nuget-worker" "osv-worker" "packagist-worker" "pypi-worker" "rubygems-worker" "security-contacts-worker")
IGNORED_SERVICES=("frontend" "python-worker" "job-generator" "webhook-api" "profiles-worker" "organizations-enrichment-worker" "merge-suggestions-worker" "members-enrichment-worker" "exports-worker" "entity-merging-worker" "cache-worker" "categorization-worker" "cron-service" "data-sink-worker" "git-integration" "mailing-list-integration" "integration-run-worker" "integration-stream-worker" "nango-webhook-api" "nango-worker" "connectors-worker" "script-executor-worker" "search-sync-api" "search-sync-worker" "security-best-practices-worker" "snowflake-connectors-worker" "automatic-projects-discovery-worker" "pcc-sync-worker" "projects-evaluation-worker" "bq-dataset-ingest" "cargo-worker" "dockerhub-sync" "github-repos-enricher" "go-worker" "maven-worker" "npm-worker" "nuget-worker" "osv-worker" "packagist-worker" "pypi-worker" "rubygems-worker" "security-contacts-worker")
CLEAN_START=1
DEV=1
start
Expand Down
Loading
Loading