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

Function stampSyncedWithHealth

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

Source from the content-addressed store, hash-verified

2454 set: syncedSet(row),
2455 });
2456 const stampSyncedWithHealth = (reason: string) =>
2457 core.updateMany("connection", {
2458 where: connectionWhere,
2459 set: {
2460 tools_synced_at: Date.now(),
2461 last_health: toolSyncHealth(reason),
2462 updated_at: new Date(),
2463 },
2464 });
2465
2466 // Defense in depth (and cleanup for rows created before the create-time
2467 // 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