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

Function stampSyncedWithHealth

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

Source from the content-addressed store, hash-verified

2112 set: syncedSet(row),
2113 });
2114 const stampSyncedWithHealth = (reason: string) =>
2115 core.updateMany("connection", {
2116 where: connectionWhere,
2117 set: {
2118 tools_synced_at: Date.now(),
2119 last_health: toolSyncHealth(reason),
2120 updated_at: new Date(),
2121 },
2122 });
2123
2124 // Defense in depth (and cleanup for rows created before the create-time
2125 // 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