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

Function stampSyncedWithHealth

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

Source from the content-addressed store, hash-verified

2595 set: syncedSet(row),
2596 });
2597 const stampSyncedWithHealth = (reason: string) =>
2598 core.updateMany("connection", {
2599 where: connectionWhere,
2600 set: {
2601 tools_synced_at: Date.now(),
2602 last_health: toolSyncHealth(reason),
2603 updated_at: new Date(),
2604 },
2605 });
2606
2607 // Defense in depth (and cleanup for rows created before the create-time
2608 // 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