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

Function stampSyncedWithHealth

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

Source from the content-addressed store, hash-verified

2535 set: syncedSet(row),
2536 });
2537 const stampSyncedWithHealth = (reason: string) =>
2538 core.updateMany("connection", {
2539 where: connectionWhere,
2540 set: {
2541 tools_synced_at: Date.now(),
2542 last_health: toolSyncHealth(reason),
2543 updated_at: new Date(),
2544 },
2545 });
2546
2547 // Defense in depth (and cleanup for rows created before the create-time
2548 // 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