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

Function faultsServed

e2e/cloud/credential-write-durability.test.ts:201–205  ·  view source on GitHub ↗
(workos: EmulatorClient, armed: ArmedFault)

Source from the content-addressed store, hash-verified

199 * untouched, and a scenario asserting only "the call worked" would pass
200 * without ever exercising the retry it claims to cover. */
201const faultsServed = (workos: EmulatorClient, armed: ArmedFault): Effect.Effect<number> =>
202 Effect.promise(async () => {
203 const entries = await workos.ledger.list(200);
204 return entries.filter((entry) => entry.faultId === armed.id).length;
205 });
206
207/** Keep the vault's version-checked writes losing for a WINDOW of time that
208 * starts at the first collision the product actually suffers — a peer writer

Calls 1

listMethod · 0.65

Tested by

no test coverage detected