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

Function runBackfill

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

Source from the content-addressed store, hash-verified

1639 );
1640
1641 const runBackfill = (
1642 orgs: ReadonlyMap<string, readonly FakeMembership[]>,
1643 dryRun: boolean,
1644 userCalls: string[] = [],
1645 ) =>
1646 withMirror((mirror) =>
1647 backfillWorkOsMirror(source(orgs, userCalls), mirror, {
1648 dryRun,
1649 log: () => undefined,
1650 }),
1651 );
1652
1653 /** The instance-wide replay boundary a completed run records. */
1654 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