ci: Remove project automation workflow (#17508) #38166
build.yml
on: push
Get Metadata
7s
Check PR branches
0s
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Matrix: job_remix_integration_tests
Lint
6m 26s
Circular Dependency Check
1m 28s
Upload Artifacts
0s
Browser Unit Tests
3m 26s
Bun Unit Tests
45s
Deno Unit Tests
39s
Cloudflare Integration Tests
40s
Size Check
1m 32s
Node Overhead Check
3m 28s
Check for faulty .d.ts files
31s
Matrix: job_e2e_tests
Matrix: job_optional_e2e_tests
All required jobs passed or were skipped
3s
Annotations
46 errors and 156 warnings
Node (24) Integration Tests
Process completed with exit code 1.
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tg1uhd/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tg1uhd/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tg1uhd/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"5435fc2796584fdaa944d6c736dabfd2","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"f27a20ead04
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tg1uhd/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"52848585851f4294843c252b9ed850ca","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"2100b4f80f1642c08036cca9980362c0","span_id":"81b06c565bcb0d69"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T10:58:12.626Z","app_memory":140267520,"free_memory":15194185728},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:54:00.918Z","arch":"x64","memory_size":16772579328,"free_memory":15194185728,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069893.315,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@s
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_hnkl7n/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_hnkl7n/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_hnkl7n/scenario-error-in-tool.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"3d3589e8a3fe4298874e7e20a8e58718","level":"fatal","platform":"node","contexts":{"trace":{"trace_id
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_hnkl7n/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"84dbb9aa3aff43aebdc69f6719af91c9","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"eb7417d196154d828beda1c47ae3519f","span_id":"9d130d0225d02901"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T10:58:09.786Z","app_memory":143454208,"free_memory":15273394176},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:54:00.916Z","arch":"x64","memory_size":16772579328,"free_memory":15273394176,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069890.718,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@s
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_ar0qab/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_ar0qab/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_ar0qab/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"d88b6e772eaf495aa2ce6085b36775c9","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"a7aeb602bcb
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_ar0qab/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"32dc894437594b37a66a5b87de54aaba","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"ab2e718a960b4ef0810bce1f3fd1ce13","span_id":"a2ed28b34c151aa1"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T10:58:06.512Z","app_memory":144949248,"free_memory":15137345536},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:54:00.920Z","arch":"x64","memory_size":16772579328,"free_memory":15137345536,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069887.579,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tw23gi/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tw23gi/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tw23gi/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"cc5dbb5c62de4b37aa7d82ff0d09e0ec","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"1a3c9dff269
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h3i_tw23gi/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"1e9d21b73d2144499df0b4633a6ce11c","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"2ecd053a40744d0c971557bdcb1c73f8","span_id":"b7e9540ed2309878"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T10:58:03.148Z","app_memory":149348352,"free_memory":15299792896},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:54:00.925Z","arch":"x64","memory_size":16772579328,"free_memory":15299792896,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069884.094,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@s
|
Node (22) Integration Tests
Process completed with exit code 1.
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_pt8w4l/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_pt8w4l/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_pt8w4l/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":147,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1463,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":237,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._load","lineno":1192,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1030,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1025,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._resolveFilename","lineno":1383,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"89e40308c296480e963ac031ba727ff5","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"1854200
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_pt8w4l/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":141,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":199,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":983,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":853,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":767,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":266,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"db774d35f71e435fbb4fbebc6985fe16","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"66d77e8151494e5990c57272bef20676","span_id":"b433ee7ad8deed91"},"runtime":{"name":"node","version":"v22.19.0"},"app":{"app_start_time":"2025-09-05T10:58:20.090Z","app_memory":131354624,"free_memory":15333892096},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:52:01.019Z","arch":"x64","memory_size":16772575232,"free_memory":15333892096,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069900.909,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_oy3x9a/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_oy3x9a/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_oy3x9a/scenario-error-in-tool.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":147,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1463,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":237,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._load","lineno":1192,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1030,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1025,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._resolveFilename","lineno":1383,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"d2c5f2a0bc464e99b75cb657be26ddc3","level":"fatal","platform":"node","contexts":{"trace":{"trac
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_oy3x9a/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":141,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":199,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":983,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":853,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":767,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":266,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"24e0a1a186d041c785b69ed4e9c1e47d","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"3ba454b656c44037877e15232f978e66","span_id":"9c3382378f3ef6ee"},"runtime":{"name":"node","version":"v22.19.0"},"app":{"app_start_time":"2025-09-05T10:58:17.286Z","app_memory":130244608,"free_memory":15335088128},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:52:01.019Z","arch":"x64","memory_size":16772575232,"free_memory":15335088128,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069898.135,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_3ydw8h/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_3ydw8h/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_3ydw8h/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":147,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1463,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":237,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._load","lineno":1192,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1030,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1025,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._resolveFilename","lineno":1383,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"bf3e061ed7284627bc262eaff7c34551","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"86ff682
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_3ydw8h/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":141,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":199,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":983,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":853,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":767,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":266,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"3ad2193952cc4e568642b3fdcf297a2e","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"53caf627389145fb9d940c76ce0e5f3b","span_id":"9bae302667fc3548"},"runtime":{"name":"node","version":"v22.19.0"},"app":{"app_start_time":"2025-09-05T10:58:13.905Z","app_memory":130310144,"free_memory":15351435264},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:52:01.026Z","arch":"x64","memory_size":16772575232,"free_memory":15351435264,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069894.859,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_yvygjm/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_yvygjm/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_yvygjm/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":147,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1463,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":237,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._load","lineno":1192,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1030,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1025,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Function._resolveFilename","lineno":1383,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"6a5cfdf2eaaf4d5da20a3650489a5b29","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"6ac0dac
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1lmw_yvygjm/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"checkForMessages","lineno":141,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":199,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":983,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":853,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":767,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":266,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"923619771ff143b9b9dbed06dbd80193","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"ebf5d73b725c43bfaa938fc67d2da84f","span_id":"95bf2b299867e22e"},"runtime":{"name":"node","version":"v22.19.0"},"app":{"app_start_time":"2025-09-05T10:58:10.376Z","app_memory":128761856,"free_memory":15306555392},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:52:01.022Z","arch":"x64","memory_size":16772575232,"free_memory":15306756096,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069891.329,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws
|
Node (20) Integration Tests
Process completed with exit code 1.
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h99_2z0aya/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h99_2z0aya/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h99_2z0aya/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1275,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1613,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1529,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h99_2z0aya/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":182,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"file
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h99_2z0aya/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/timers","module":"timers","function":"process.processImmediate","lineno":483,"colno":21,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":138,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":306,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1188,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":946,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":873,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"4f7a44cd85204b889f913fe799d14ce7","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"9b5d5cbbff134e23a360f1ca998fd2e7","span_id":"92302aa6a57cfbda"},"runtime":{"name":"node","version":"v20.19.4"},"app":{"app_start_time":"2025-09-05T10:58:13.932Z","app_memory":121819136,"free_memory":15374675968},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:57:05.934Z","arch":"x64","memory_size":16772579328,"free_memory":15374675968,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069894.726,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0",
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_ye8rqf/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_ye8rqf/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_ye8rqf/scenario-error-in-tool.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1275,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1613,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1529,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_ye8rqf/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":182,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_ye8rqf/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/timers","module":"timers","function":"process.processImmediate","lineno":483,"colno":21,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":138,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":306,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1188,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":946,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":873,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"339371c070584c649dfba5d6fce3c089","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"7daa27e6e83042c88f1fe4e3870e9829","span_id":"a721be5e562709b2"},"runtime":{"name":"node","version":"v20.19.4"},"app":{"app_start_time":"2025-09-05T10:58:10.988Z","app_memory":118632448,"free_memory":15302529024},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:57:05.936Z","arch":"x64","memory_size":16772579328,"free_memory":15302529024,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069891.778,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0",
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_asvp7v/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_asvp7v/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_asvp7v/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1275,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1613,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1529,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_asvp7v/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":182,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"file
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h98_asvp7v/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/timers","module":"timers","function":"process.processImmediate","lineno":483,"colno":21,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":138,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":306,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1188,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":946,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":873,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"4299dfde041a4db49e91c3ca184deeaa","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"b7c02b84d23d458eb8a4b9fd29d9150f","span_id":"b49e0a2fe48e02c7"},"runtime":{"name":"node","version":"v20.19.4"},"app":{"app_start_time":"2025-09-05T10:58:07.964Z","app_memory":116379648,"free_memory":15235936256},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:57:05.934Z","arch":"x64","memory_size":16772579328,"free_memory":15235936256,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069888.767,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0",
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h97_g1v089/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h97_g1v089/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h97_g1v089/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1275,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1613,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1529,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h97_g1v089/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":182,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"file
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1h97_g1v089/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/timers","module":"timers","function":"process.processImmediate","lineno":483,"colno":21,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":138,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":306,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1188,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":946,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":873,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"b278cdd3fcd34fa28f810a1dd939797f","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"46a2e5d6f74a4520a99ad0b9829c735d","span_id":"96e29fd0ba694df4"},"runtime":{"name":"node","version":"v20.19.4"},"app":{"app_start_time":"2025-09-05T10:58:04.859Z","app_memory":115601408,"free_memory":15253458944},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:57:05.935Z","arch":"x64","memory_size":16772579328,"free_memory":15253458944,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069885.767,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0",
|
Node (18) Integration Tests
Process completed with exit code 1.
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_eqtzat/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_eqtzat/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_eqtzat/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1203,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1422,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1364,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_eqtzat/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":177,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"file
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_eqtzat/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/event_target","module":"event_target","function":"[nodejs.internal.kHybridDispatch]","lineno":786,"colno":20,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"MessagePort.handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":302,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1206,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":973,"colno":20,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":916,"colno":9,"in_app":false},{"filename":"node:internal/errors","module":"errors","function":"new NodeError","lineno":405,"colno":5,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"7ed35f5bce594f2cb2a31d4dd6a5f79d","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"c72fa21e0c7d48339c8d1ca69f28be87","span_id":"bafb38a523e94875"},"runtime":{"name":"node","version":"v18.20.8"},"app":{"app_start_time":"2025-09-05T10:58:21.677Z","app_memory":113119232},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:55:46.985Z","arch":"x64","memory_size":16772579328,"free_memory":15269691392,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":3243},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069902.544,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariables","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0","@sentry/core":"10.10
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_6ibw1r/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_6ibw1r/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_6ibw1r/scenario-error-in-tool.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1203,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1422,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1364,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_6ibw1r/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":177,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_6ibw1r/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":138,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":302,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1206,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":973,"colno":20,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":916,"colno":9,"in_app":false},{"filename":"node:internal/errors","module":"errors","function":"new NodeError","lineno":405,"colno":5,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"e72f576b36014e8681ad335acccbfce0","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"0391fd378dfa4cf78dd89f586df0db93","span_id":"9edb226374d1cccd"},"runtime":{"name":"node","version":"v18.20.8"},"app":{"app_start_time":"2025-09-05T10:58:18.425Z","app_memory":113844224},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:55:46.988Z","arch":"x64","memory_size":16772579328,"free_memory":15285714944,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":3242},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069899.35,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariables","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0","@sentry/core":"10.10.0","@sentry/node":"
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_koa6ls/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_koa6ls/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_koa6ls/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1203,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1422,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1364,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_koa6ls/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":177,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"file
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j46_koa6ls/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":138,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":302,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1206,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":973,"colno":20,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":916,"colno":9,"in_app":false},{"filename":"node:internal/errors","module":"errors","function":"new NodeError","lineno":405,"colno":5,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"cba08b8da5504e91817f1ee8127d83f0","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"62204202d9da4d05a4e8dfef2816922d","span_id":"a908dca19d64cfe1"},"runtime":{"name":"node","version":"v18.20.8"},"app":{"app_start_time":"2025-09-05T10:58:15.048Z","app_memory":113041408},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:55:46.987Z","arch":"x64","memory_size":16772579328,"free_memory":15270469632,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":3244},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069895.925,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariables","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0","@sentry/core":"10.10.0","@sentry/node":
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j45_4ok3wd/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j45_4ok3wd/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j45_4ok3wd/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.load","lineno":1203,"colno":32,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._extensions..js","lineno":1422,"colno":10,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._compile","lineno":1364,"colno":14,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j45_4ok3wd/node_modules/@ai-sdk/provider-utils/dist/test/index.js","module":"@ai-sdk.provider-utils.dist.test:index","function":"Object.?","lineno":105,"colno":18,"in_app":false,"pre_context":[" prefix = \"id\"","} = {}) {"," let counter = 0;"," return () => `${prefix}-${counter++}`;","}","","// src/test/test-server.ts"],"context_line":"var import_msw = require(\"msw\");","post_context":["var import_node = require(\"msw/node\");","var import_vitest = require(\"vitest\");","var TestServerCall = class {"," constructor(request) {"," this.request = request;"," }"," get requestBodyJson() {"]},{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":177,"colno":18,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"file
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q1j45_4ok3wd/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":138,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":196,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":302,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":864,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":1206,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":973,"colno":20,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":916,"colno":9,"in_app":false},{"filename":"node:internal/errors","module":"errors","function":"new NodeError","lineno":405,"colno":5,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"6ea4761d1fdd42e6a73dba7c1659f4ea","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"5fa61448571f4ba7bbf6b9165f8921fd","span_id":"9d10aac5e27e8818"},"runtime":{"name":"node","version":"v18.20.8"},"app":{"app_start_time":"2025-09-05T10:58:11.734Z","app_memory":114876416},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:55:46.988Z","arch":"x64","memory_size":16772579328,"free_memory":15333240832,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":3244},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757069892.653,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariables","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-serverless":"10.10.0","@sentry/core":"10.10.0","@sentry/node":
|
Node (24) (TS 3.8) Integration Tests
Process completed with exit code 1.
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_8u16e1/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_8u16e1/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_8u16e1/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"a100cc4d401a446187bb4759246dcfc9","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"892b2ada47c
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with v5:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_8u16e1/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"b04c83f866aa4571b407a6bd304663f9","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"8a8b7b4df27544479dcf8e4c236e91aa","span_id":"a5fbd790d0ae6a92"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T11:00:34.338Z","app_memory":142475264,"free_memory":15186571264},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:49:49.384Z","arch":"x64","memory_size":16772579328,"free_memory":15186571264,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757070035.044,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@s
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_xpqnja/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_xpqnja/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_xpqnja/scenario-error-in-tool.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"c596405882cd4763901dac26ce416aec","level":"fatal","platform":"node","contexts":{"trace":{"trace_id
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > captures error in tool:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_xpqnja/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"ea1caa8b8ad04b55b54a3784b1b00ba8","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"ebe9b72d8c8446719d80ebb556e4d2e4","span_id":"9c805ee41f9fe76f"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T11:00:31.714Z","app_memory":143622144,"free_memory":15179587584},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:49:49.384Z","arch":"x64","memory_size":16772579328,"free_memory":15179587584,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757070032.497,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@s
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_9593i8/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_9593i8/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_9593i8/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"abe594133a9c4e79934060acb2cb8069","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"bdabece03d4
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: true:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_9593i8/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"6967ccaaf89f4843b80a855f2dc1f23c","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"f097cd598b6645a6bd86732a11969d6e","span_id":"957a3edd53e8b11f"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T11:00:28.970Z","app_memory":142331904,"free_memory":15233380352},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:49:49.383Z","arch":"x64","memory_size":16772579328,"free_memory":15233380352,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757070029.698,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@sentry/aws-
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > cjs > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find module 'msw'\nRequire stack:\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_ay1ksq/node_modules/@ai-sdk/provider-utils/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_ay1ksq/node_modules/ai/dist/test/index.js\n- /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_ay1ksq/scenario.cjs","stacktrace":{"frames":[{"filename":"node:internal/modules/helpers","module":"helpers","function":"require","lineno":152,"colno":16,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/require-in-the-middle/index.js","module":"require-in-the-middle:index","function":"Module.require","lineno":167,"colno":34,"in_app":false,"pre_context":[" // handled, even if `someId` cannot be resolved to a filename. In this"," // case, instead of throwing we defer to the underlying `require`."," //"," // For example the Azure Functions Node.js worker module does this,"," // where `@azure/functions-core` resolves to an internal object."," // https://github.com/Azure/azure-functions-nodejs-worker/blob/v3.5.2/src/setupCoreModule.ts#L46-L54"," debug('Module._resolveFilename(\"%s\") threw %j, calling original Module.require', id, resolveErr.message)"],"context_line":" return self._origRequire.apply(this, arguments)","post_context":[" }"," }",""," let moduleName, basedir",""," debug('processing %s module require(\\'%s\\'): %s', core === true ? 'core' : 'non-core', id, filename)",""]},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module.?","lineno":1493,"colno":12,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"wrapModuleLoad","lineno":238,"colno":24,"in_app":false},{"filename":"node:diagnostics_channel","module":"node:diagnostics_channel","function":"TracingChannel.traceSync","lineno":322,"colno":14,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._load","lineno":1219,"colno":37,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"resolveForCJSWithHooks","lineno":1056,"colno":22,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"defaultResolveImpl","lineno":1051,"colno":19,"in_app":false},{"filename":"node:internal/modules/cjs/loader","module":"loader","function":"Module._resolveFilename","lineno":1410,"colno":15,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"e0db12b4756147bfb3f6b2679694e329","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"d354340f7e9
|
suites/tracing/vercelai/v5/test.ts > Vercel AI integration (V5) > esm/cjs > esm > creates ai related spans with sendDefaultPii: false:
dev-packages/node-integration-tests/utils/runner.ts#L466
Error: Expected envelope item type 'transaction' but got 'event'.
Item: [{"type":"event"},{"exception":{"values":[{"type":"Error","value":"Cannot find package 'msw' imported from /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/vercelai/v5/tmp_mf6q4jtf_ay1ksq/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs","stacktrace":{"frames":[{"filename":"node:internal/modules/esm/worker","module":"worker","function":"Immediate.checkForMessages","lineno":143,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/worker","module":"worker","function":"handleMessage","lineno":201,"colno":24,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"Hooks.resolve","lineno":240,"colno":30,"in_app":false},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"/home/runner/work/sentry-javascript/sentry-javascript/node_modules/import-in-the-middle/hook.js","module":"import-in-the-middle:hook","function":"resolve","lineno":343,"colno":26,"in_app":false,"pre_context":[" }",""," const { parentURL = '' } = context"," const newSpecifier = deleteIitm(specifier)"," if (isWin && parentURL.indexOf('file:node') === 0) {"," context.parentURL = ''"," }"],"context_line":" const result = await parentResolve(newSpecifier, context, parentResolve)","post_context":[" if (parentURL === '' && !EXTENSION_RE.test(result.url)) {"," entrypoint = result.url"," return { url: result.url, format: 'commonjs' }"," }",""," // For included/excluded modules, we check the specifier to match libraries"," // that are loaded with bare specifiers from node_modules."]},{"filename":"node:internal/modules/esm/hooks","module":"hooks","function":"nextResolve","lineno":748,"colno":28,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"defaultResolve","lineno":990,"colno":11,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"moduleResolve","lineno":858,"colno":18,"in_app":false},{"filename":"node:internal/modules/esm/resolve","module":"resolve","function":"packageResolve","lineno":768,"colno":81,"in_app":false},{"filename":"node:internal/modules/package_json_reader","module":"package_json_reader","function":"Object.getPackageJSONURL","lineno":268,"colno":9,"in_app":false}]},"mechanism":{"type":"onuncaughtexception","handled":false}}]},"event_id":"a54551f0bb97484ea933559bd34e07d7","level":"fatal","platform":"node","contexts":{"trace":{"trace_id":"367f1501f0b14ab6b47e66676592cf32","span_id":"bb90c6f4393bb914"},"runtime":{"name":"node","version":"v24.7.0"},"app":{"app_start_time":"2025-09-05T11:00:26.281Z","app_memory":147238912,"free_memory":15175106560},"os":{"kernel_version":"6.11.0-1018-azure","name":"Ubuntu Linux","version":"24.04"},"device":{"boot_time":"2025-09-05T10:49:49.381Z","arch":"x64","memory_size":16772579328,"free_memory":15175106560,"processor_count":4,"cpu_description":"AMD EPYC 7763 64-Core Processor","processor_frequency":0},"culture":{"locale":"en-US","timezone":"UTC"},"cloud_resource":{}},"server_name":"pkrvm7jw40e0xgp","timestamp":1757070027.134,"environment":"production","release":"1.0","sdk":{"integrations":["InboundFilters","FunctionToString","LinkedErrors","RequestData","NodeSystemError","Console","OnUncaughtException","OnUnhandledRejection","ContextLines","LocalVariablesAsync","Context","ChildProcess","ProcessSession","Modules","Http","NodeFetch","Express","Fastify","Graphql","Mongo","Mongoose","Mysql","Mysql2","Redis","Postgres","Prisma","Hapi","Koa","Connect","Tedious","GenericPool","Kafka","Amqplib","LruMemoizer","VercelAI","OpenAI","PostgresJs","Firebase","Anthropic_AI"],"name":"sentry.javascript.node","version":"10.10.0","packages":[{"name":"npm:@sentry/node","version":"10.10.0"}]},"modules":{"@aws-sdk/client-s3":"^3.552.0","@hapi/hapi":"^21.3.10","@nestjs/common":"11.1.3","@nestjs/core":"11.1.3","@nestjs/platform-express":"11.1.3","@s
|
All required jobs passed or were skipped
Process completed with exit code 1.
|
PW loader_debug Tests
Cache save failed.
|
PW loader_eager Tests
Cache save failed.
|
PW loader_replay_buffer Tests
Cache save failed.
|
PW loader_tracing Tests
Cache save failed.
|
Playwright bundle Tests
Cache save failed.
|
PW loader_tracing_replay Tests
Cache save failed.
|
Playwright bundle_min Tests
Cache save failed.
|
PW loader_base Tests
Cache save failed.
|
Remix (Node 22) Tests
Cache save failed.
|
PW loader_replay Tests
Cache save failed.
|
Playwright bundle_replay Tests
Cache save failed.
|
Playwright esm (1/4) Tests
Cache save failed.
|
Remix (Node 20) Tests
Cache save failed.
|
Remix (Node 24) Tests
Cache save failed.
|
Remix (Node 18) Tests
Cache save failed.
|
E2E node-express-incorrect-instrumentation Test
Cache save failed.
|
E2E node-express-esm-preload Test
Cache save failed.
|
E2E node-profiling-cjs Test
Cache save failed.
|
E2E node-profiling-esm Test
Cache save failed.
|
E2E node-koa Test
Cache save failed.
|
E2E node-otel-without-tracing Test
Cache save failed.
|
E2E browser-webworker-vite Test
Cache save failed.
|
E2E node-express-send-to-sentry Test (optional)
Cache save failed.
|
E2E node-express-esm-loader Test
Cache save failed.
|
E2E sveltekit-2.5.0-twp Test
Cache save failed.
|
E2E node-core-express-otel-v1-custom-sampler Test
Cache save failed.
|
E2E node-express-esm-without-loader Test
Cache save failed.
|
E2E tsx-express Test
Cache save failed.
|
E2E svelte-5 Test
Cache save failed.
|
E2E nestjs-graphql Test
Cache save failed.
|
E2E node-core-express-otel-v2-custom-sampler Test
Cache save failed.
|
E2E react-router-7-framework-custom Test
Cache save failed.
|
E2E nestjs-distributed-tracing Test
Cache save failed.
|
E2E nestjs-with-submodules-decorator Test
Cache save failed.
|
E2E node-express Test
Cache save failed.
|
E2E react-router-7-spa (TS 3.8) Test
Cache save failed.
|
E2E solidstart-spa Test
Cache save failed.
|
E2E node-core-express-otel-v1 Test
Cache save failed.
|
E2E default-browser Test
Cache save failed.
|
E2E react-router-7-framework-spa-node-20-18 Test
Cache save failed.
|
E2E create-remix-app-express-vite-dev Test
Cache save failed.
|
Playwright esm (3/4) Tests
Cache save failed.
|
E2E react-router-7-framework-spa Test
Cache save failed.
|
E2E angular-18 Test
Cache save failed.
|
E2E tanstack-router Test
Cache save failed.
|
E2E react-router-7-spa Test
Cache save failed.
|
E2E hydrogen-react-router-7 Test
Cache save failed.
|
E2E cloudflare-astro Test (optional)
Cache save failed.
|
E2E node-otel Test
Cache save failed.
|
E2E create-react-app (TS 3.8) Test
Cache save failed.
|
E2E node-express-cjs-preload Test
Cache save failed.
|
E2E react-router-6-descendant-routes Test
Cache save failed.
|
E2E cloudflare-workers Test
Cache save failed.
|
E2E remix-hydrogen Test
Cache save failed.
|
E2E node-fastify-5 Test
Cache save failed.
|
E2E nestjs-basic-with-graphql Test
Cache save failed.
|
E2E nuxt-3-top-level-import Test
Cache save failed.
|
E2E astro-5 Test
Cache save failed.
|
E2E sveltekit-2-svelte-5 Test
Cache save failed.
|
E2E react-router-6 Test
Cache save failed.
|
E2E node-core-express-otel-v2 Test
Cache save failed.
|
E2E react-19 Test
Cache save failed.
|
E2E nextjs-turbo (canary) Test (optional)
Cache save failed.
|
E2E ember-classic Test
Cache save failed.
|
E2E create-remix-app-express Test
Cache save failed.
|
E2E nestjs-11 Test
Cache save failed.
|
E2E nestjs-basic Test
Cache save failed.
|
E2E react-create-hash-router Test
Cache save failed.
|
E2E solidstart-top-level-import Test
Cache save failed.
|
E2E webpack-4 Test
Cache save failed.
|
E2E generic-ts3.8 Test
Cache save failed.
|
E2E nuxt-3 (canary) Test (optional)
Cache save failed.
|
E2E ember-embroider Test
Cache save failed.
|
E2E node-otel-custom-sampler Test
Cache save failed.
|
E2E sveltekit-2-kit-tracing Test
Cache save failed.
|
E2E solid Test
Cache save failed.
|
E2E react-router-7-lazy-routes Test
Cache save failed.
|
E2E nextjs-turbo (latest) Test (optional)
Cache save failed.
|
E2E node-fastify-3 Test
Cache save failed.
|
E2E nestjs-8 Test
Cache save failed.
|
E2E react-router-6-use-routes Test
Cache save failed.
|
E2E create-next-app Test
Cache save failed.
|
E2E node-core-express-otel-v1-sdk-node Test
Cache save failed.
|
E2E react-create-browser-router Test
Cache save failed.
|
E2E react-router-6 (TS 3.8) Test
Cache save failed.
|
E2E webpack-5 Test
Cache save failed.
|
E2E angular-17 Test
Cache save failed.
|
E2E node-fastify-4 Test
Cache save failed.
|
Playwright esm (4/4) Tests
Cache save failed.
|
E2E nextjs-pages-dir (canary) Test (optional)
Cache save failed.
|
E2E react-router-7-framework-node-20-18 Test
Cache save failed.
|
E2E nuxt-3-min Test
Cache save failed.
|
E2E solidstart-dynamic-import Test
Cache save failed.
|
E2E node-exports-test-app Test
Cache save failed.
|
E2E nextjs-pages-dir (latest) Test (optional)
Cache save failed.
|
E2E node-express-v5 Test
Cache save failed.
|
E2E cloudflare-hono Test (optional)
Cache save failed.
|
E2E aws-serverless (Node 18) Test
Cache save failed.
|
E2E sveltekit-cloudflare-pages Test
Cache save failed.
|
E2E node-connect Test
Cache save failed.
|
E2E node-firebase Test
Cache save failed.
|
E2E vue-3 Test
Cache save failed.
|
E2E nextjs-pages-dir Test
Cache save failed.
|
E2E solid-solidrouter Test
Cache save failed.
|
E2E nuxt-3 Test
Cache save failed.
|
E2E react-router-7-cross-usage Test
Cache save failed.
|
E2E nextjs-turbo Test (optional)
Cache save failed.
|
E2E aws-serverless (Node 20) Test
Cache save failed.
|
E2E nextjs-15 (turbo) Test (optional)
Cache save failed.
|
E2E sveltekit-2 Test
Cache save failed.
|
E2E node-otel-sdk-node Test
Cache save failed.
|
E2E react-17 Test
Cache save failed.
|
E2E node-core-express-otel-v2-sdk-node Test
Cache save failed.
|
E2E node-hapi Test
Cache save failed.
|
E2E astro-4 Test
Cache save failed.
|
Playwright bundle_tracing_replay_feedback_min firefox Tests
Cache save failed.
|
E2E create-remix-app-v2 Test
Cache save failed.
|
E2E react-create-memory-router Test
Cache save failed.
|
E2E solidstart Test
Cache save failed.
|
E2E nextjs-orpc Test (optional)
Cache save failed.
|
E2E debug-id-sourcemaps Test (optional)
Cache save failed.
|
E2E nestjs-with-submodules Test
Cache save failed.
|
E2E nextjs-15 (latest) Test (optional)
Cache save failed.
|
E2E nextjs-13 Test
Cache save failed.
|
E2E angular-19 Test
Cache save failed.
|
E2E nestjs-fastify Test
Cache save failed.
|
E2E aws-serverless Test
Cache save failed.
|
E2E nextjs-13 (latest) Test (optional)
Cache save failed.
|
E2E nuxt-4 Test
Cache save failed.
|
E2E create-react-app Test
Cache save failed.
|
E2E nuxt-4 (canary) Test (optional)
Cache save failed.
|
E2E nuxt-3-dynamic-import Test
Cache save failed.
|
E2E react-send-to-sentry Test (optional)
Cache save failed.
|
E2E react-router-7-framework Test
Cache save failed.
|
E2E nextjs-t3 Test
Cache save failed.
|
E2E nextjs-14 Test
Cache save failed.
|
Playwright bundle_tracing_replay_feedback_min webkit Tests
Cache save failed.
|
E2E nextjs-13 (canary) Test (optional)
Cache save failed.
|
E2E react-router-5 Test
Cache save failed.
|
E2E nextjs-15 Test
Cache save failed.
|
E2E angular-20 Test
Cache save failed.
|
Playwright bundle_tracing Tests
Cache save failed.
|
E2E create-next-app (next@13) Test
Cache save failed.
|
Playwright bundle_tracing_replay_feedback Tests
Cache save failed.
|
E2E nextjs-pages-dir (next@13) Test
Cache save failed.
|
E2E nextjs-14 (latest) Test (optional)
Cache save failed.
|
E2E nextjs-14 (canary) Test (optional)
Cache save failed.
|
Playwright esm (2/4) Tests
Cache save failed.
|
E2E nextjs-15 (canary) Test (optional)
Cache save failed.
|
E2E nextjs-app-dir (next@13) Test
Cache save failed.
|
E2E nextjs-app-dir (canary) Test (optional)
Cache save failed.
|
E2E nextjs-app-dir Test
Cache save failed.
|
E2E nextjs-app-dir (latest) Test (optional)
Cache save failed.
|
Playwright bundle_tracing_replay Tests
Cache save failed.
|
E2E supabase-nextjs Test
Cache save failed.
|
Playwright bundle_tracing_replay_feedback_min Tests
Cache save failed.
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
build-output
Expired
|
21.4 MB |
sha256:aeae95dd5c80fc8334062fc4c0e1c6bd072f4d3bb183ca1aa37b672252534d42
|
|
node-overhead-action
|
280 Bytes |
sha256:e9da496e1de45bc53bd1d03c3e28eb0839263d4b18e9255d8140978bc9a8d02b
|
|
size-limit-action
|
783 Bytes |
sha256:1f6ba3702761fb196733c1e5fe01de510001d112dc6c4352e6a31b897f7c61b4
|
|