feat(vercel-edge): Use opentelemetry for @sentry/vercel-edge
#28762
Annotations
4 errors
packages/vercel-edge/test/async.test.ts#L135
AssertionError: expected ScopeClass{ …(16) } not to be ScopeClass{ …(16) } // Object.is equality
Compared values have no visual difference.
❯ test/async.test.ts:135:27
❯ ../core/src/asyncContext/stackStrategy.ts:148:12
❯ AsyncContextStack.withScope ../core/src/asyncContext/stackStrategy.ts:49:28
❯ Object.withIsolationScope ../core/src/asyncContext/stackStrategy.ts:147:33
❯ Module.withIsolationScope ../core/src/currentScopes.ts:114:14
❯ test/async.test.ts:132:7
❯ test/async.test.ts:128:5
|
packages/vercel-edge/test/async.test.ts#L149
AssertionError: expected ScopeClass{ …(16) } not to be ScopeClass{ …(16) } // Object.is equality
Compared values have no visual difference.
❯ test/async.test.ts:149:27
❯ ../core/src/asyncContext/stackStrategy.ts:148:12
❯ AsyncContextStack.withScope ../core/src/asyncContext/stackStrategy.ts:49:28
❯ Object.withIsolationScope ../core/src/asyncContext/stackStrategy.ts:147:33
❯ Module.withIsolationScope ../core/src/currentScopes.ts:108:18
❯ test/async.test.ts:146:7
❯ test/async.test.ts:142:5
|
packages/vercel-edge/test/async.test.ts#L163
AssertionError: expected ScopeClass{ …(16) } to be ScopeClass{ …(11) } // Object.is equality
- Expected
+ Received
ScopeClass {
"_attachments": Array [],
"_breadcrumbs": Array [],
"_contexts": Object {},
"_eventProcessors": Array [],
"_extra": Object {},
+ "_fingerprint": undefined,
+ "_level": undefined,
"_notifyingListeners": false,
"_propagationContext": Object {
- "spanId": "971e6bd09fa0c802",
- "traceId": "f7d4bb8758aa4bac917cc97bf917d570",
+ "spanId": "8442572dbdf65671",
+ "traceId": "1d36bfb0691c4b66a5140ce31a475130",
},
+ "_requestSession": undefined,
"_scopeListeners": Array [],
"_sdkProcessingMetadata": Object {},
- "_tags": Object {},
+ "_session": undefined,
+ "_tags": Object {
+ "aa": "aa",
+ },
+ "_transactionName": undefined,
"_user": Object {},
}
❯ test/async.test.ts:163:37
❯ ../core/src/asyncContext/stackStrategy.ts:148:12
❯ AsyncContextStack.withScope ../core/src/asyncContext/stackStrategy.ts:49:28
❯ withIsolationScope ../core/src/asyncContext/stackStrategy.ts:147:33
❯ Object.withSetIsolationScope ../core/src/asyncContext/stackStrategy.ts:161:14
❯ Module.withIsolationScope ../core/src/currentScopes.ts:111:16
❯ test/async.test.ts:162:7
❯ test/async.test.ts:156:5
|
|
This job failed
Loading