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

Function stampSyncedWithHealth

packages/core/sdk/src/executor.ts:2098–2106  ·  view source on GitHub ↗
(reason: string)

Source from the content-addressed store, hash-verified

2096 set: syncedSet(row),
2097 });
2098 const stampSyncedWithHealth = (reason: string) =>
2099 core.updateMany("connection", {
2100 where: connectionWhere,
2101 set: {
2102 tools_synced_at: Date.now(),
2103 last_health: toolSyncHealth(reason),
2104 updated_at: new Date(),
2105 },
2106 });
2107
2108 // Defense in depth (and cleanup for rows created before the create-time
2109 // guard, or emptied by an external edit): a credentialed non-OAuth

Callers 1

produceConnectionToolsFunction · 0.85

Calls 1

toolSyncHealthFunction · 0.85

Tested by

no test coverage detected