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

Function stampSynced

packages/core/sdk/src/executor.ts:3556–3560  ·  view source on GitHub ↗
(row: ConnectionRow | null)

Source from the content-addressed store, hash-verified

3554 // Successful syncs also clear stale sync-failure health records, while
3555 // preserving genuine health-check outcomes.
3556 const stampSynced = (row: ConnectionRow | null) =>
3557 core.updateMany("connection", {
3558 where: connectionWhere,
3559 set: syncedSet(row),
3560 });
3561 // A failing sync must not bury a recorded dead grant's `expired`
3562 // verdict: this sync's own credential resolution is what discovers
3563 // invalid_grant (refresh → recorder), so by failure time the row

Callers 1

Calls 1

syncedSetFunction · 0.85

Tested by

no test coverage detected