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

Function stampSyncedWithHealth

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

Source from the content-addressed store, hash-verified

2549 set: syncedSet(row),
2550 });
2551 const stampSyncedWithHealth = (reason: string) =>
2552 core.updateMany("connection", {
2553 where: connectionWhere,
2554 set: {
2555 tools_synced_at: Date.now(),
2556 last_health: toolSyncHealth(reason),
2557 updated_at: new Date(),
2558 },
2559 });
2560
2561 // Defense in depth (and cleanup for rows created before the create-time
2562 // 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