MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / runBackfill

Function runBackfill

apps/cloud/src/auth/mirror-feeders.node.test.ts:1633–1643  ·  view source on GitHub ↗
(
    orgs: ReadonlyMap<string, readonly FakeMembership[]>,
    dryRun: boolean,
    userCalls: string[] = [],
  )

Source from the content-addressed store, hash-verified

1631 );
1632
1633 const runBackfill = (
1634 orgs: ReadonlyMap<string, readonly FakeMembership[]>,
1635 dryRun: boolean,
1636 userCalls: string[] = [],
1637 ) =>
1638 withMirror((mirror) =>
1639 backfillWorkOsMirror(source(orgs, userCalls), mirror, {
1640 dryRun,
1641 log: () => undefined,
1642 }),
1643 );
1644
1645 /** The instance-wide replay boundary a completed run records. */
1646 const syncState = () => withMirror((mirror) => mirror.replayBoundary());

Callers 1

Calls 3

backfillWorkOsMirrorFunction · 0.90
withMirrorFunction · 0.85
sourceFunction · 0.85

Tested by

no test coverage detected