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

Function stampSyncedWithHealth

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

Source from the content-addressed store, hash-verified

2187 set: syncedSet(row),
2188 });
2189 const stampSyncedWithHealth = (reason: string) =>
2190 core.updateMany("connection", {
2191 where: connectionWhere,
2192 set: {
2193 tools_synced_at: Date.now(),
2194 last_health: toolSyncHealth(reason),
2195 updated_at: new Date(),
2196 },
2197 });
2198
2199 // Defense in depth (and cleanup for rows created before the create-time
2200 // 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