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

Function ownReport

apps/cloud/src/observability/observability.test.ts:292–304  ·  view source on GitHub ↗
(chunkHash: string)

Source from the content-addressed store, hash-verified

290
291 it("pins a stable fingerprint on the report the DO itself owns", () => {
292 const ownReport = (chunkHash: string): ErrorEvent =>
293 doEcho({
294 exception: {
295 values: [
296 {
297 type: "Error",
298 value: "Durable Object reset because its code was updated.",
299 mechanism: { type: "generic", handled: true },
300 ...hashedFrames(chunkHash),
301 },
302 ],
303 },
304 });
305
306 const before = beforeSendCloudEvent(ownReport("BAuwphPA"), {});
307 const after = beforeSendCloudEvent(ownReport("DkcPBbWe"), {});

Callers 1

Calls 2

doEchoFunction · 0.85
hashedFramesFunction · 0.85

Tested by

no test coverage detected