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

Function vendorEvent

packages/core/sdk/src/sentry-grouping.test.ts:157–171  ·  view source on GitHub ↗
(caller: string, hash: string)

Source from the content-addressed store, hash-verified

155// so the crashing frame alone is not a safe key — two different bugs would
156// land in one issue. Frames are oldest-first, so the shared chunk is last.
157const vendorEvent = (caller: string, hash: string): GroupingEvent => ({
158 exception: {
159 values: [
160 {
161 type: "TypeError",
162 stacktrace: {
163 frames: [
164 { module: `${caller}-${hash}`, function: caller, in_app: true },
165 { module: `dist-${hash}`, function: "throwHelper", in_app: true },
166 ],
167 },
168 },
169 ],
170 },
171});
172
173test("two vendor chunks sharing a name stay apart on their callers", () => {
174 const upload = stableGroupingFingerprint(vendorEvent("uploadArtifact", "BQZkXWT2"));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected