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

Function faultsServed

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

Source from the content-addressed store, hash-verified

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

Calls 1

listMethod · 0.65

Tested by

no test coverage detected