MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / credential-write-durability.test.ts

File credential-write-durability.test.ts

e2e/cloud/credential-write-durability.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Cloud: a refreshed OAuth credential has to be PERSISTED, and persisting it is
2// a pair of version-checked writes into WorkOS Vault — the rotated refresh
3// token and the new access token, one after the other, not atomically. Three
4// production failures live in that gap.

Callers

nothing calls this directly

Calls 15

serveOAuthTestServerFunction · 0.90
scenarioFunction · 0.90
composePluginApiFunction · 0.85
faultsServedFunction · 0.85
holdWritesInConflictFunction · 0.85
vaultObjectsForFunction · 0.85
toStringMethod · 0.80
completeMethod · 0.80
serveUpstreamFunction · 0.70
uniqueFunction · 0.70
specFunction · 0.70
callFunction · 0.70

Tested by

no test coverage detected