(input: {
readonly runId: string;
readonly toolId: string;
readonly status: ToolCall["status"];
readonly startedAt: string;
readonly clientName?: string | null;
readonly userId?: string | null;
readonly durationMs?: number;
})
| 97 | }))(); |
| 98 | |
| 99 | const call = (input: { |
| 100 | readonly runId: string; |
| 101 | readonly toolId: string; |
| 102 | readonly status: ToolCall["status"]; |
| 103 | readonly startedAt: string; |
| 104 | readonly clientName?: string | null; |
| 105 | readonly userId?: string | null; |
| 106 | readonly durationMs?: number; |
| 107 | }): ToolCall => ({ |
| 108 | runId: input.runId, |
| 109 | toolId: input.toolId, |
| 110 | userId: input.userId ?? null, |
| 111 | clientName: input.clientName ?? null, |
| 112 | status: input.status, |
| 113 | startedAt: input.startedAt, |
| 114 | durationMs: input.durationMs ?? 0, |
| 115 | }); |
| 116 | |
| 117 | // A FumaDB that commits the FIRST row of a multi-row `plugin_storage` bulk |
| 118 | // write and then fails. Injecting the fault mid-write, rather than before it, |
no outgoing calls
no test coverage detected