MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / evaluateAt

Function evaluateAt

services/o11y/test/queue-backlog-evaluate.spec.ts:52–58  ·  view source on GitHub ↗
(
  kv: KVNamespace,
  backlogCount: number,
  notify: (alert: AlertPayload) => Promise<void>
)

Source from the content-addressed store, hash-verified

50}
51
52async function evaluateAt(
53 kv: KVNamespace,
54 backlogCount: number,
55 notify: (alert: AlertPayload) => Promise<void>
56): Promise<void> {
57 await evaluateQueueBacklogAlert(makeEnv(kv), async () => makeMetrics(backlogCount), notify);
58}
59
60describe('evaluateQueueBacklogAlert', () => {
61 it('sends one ticket alert and persists queue-scoped state', async () => {

Callers 1

Calls 3

makeMetricsFunction · 0.85
makeEnvFunction · 0.70

Tested by

no test coverage detected