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

Function entries

packages/core/sdk/src/plugin-storage.test.ts:283–292  ·  view source on GitHub ↗
(status: "ok" | "failed")

Source from the content-addressed store, hash-verified

281 // A plugin_storage row binds ~9 values, so 300 rows exceed one
282 // 999-bound-variable statement budget and must span several batches.
283 const entries = (status: "ok" | "failed") =>
284 Array.from({ length: 300 }, (_, index) => ({
285 key: `batched-call-${String(index).padStart(3, "0")}`,
286 data: call({
287 runId: "run-batched",
288 toolId: "browser",
289 status,
290 startedAt: new Date(Date.UTC(2026, 4, 29, 12, 0, index)).toISOString(),
291 }),
292 }));
293
294 yield* executor.executionHistory.recordMany("org", entries("ok"));
295 const total = yield* executor.executionHistory.count({

Callers 1

Calls 1

callFunction · 0.70

Tested by

no test coverage detected