Skip to content

fix(core): set span.status to error when MCP tool returns JSON-RPC error response #45275

fix(core): set span.status to error when MCP tool returns JSON-RPC error response

fix(core): set span.status to error when MCP tool returns JSON-RPC error response #45275

Re-run triggered April 1, 2026 20:38
Status Success
Total duration 12m 2s
Artifacts 43

build.yml

on: pull_request
job_get_metadata  /  Get Metadata
8s
job_get_metadata / Get Metadata
Check lockfile
2m 52s
Check lockfile
Check file formatting
52s
Check file formatting
Check PR branches
5s
Check PR branches
Prepare E2E tests
2m 54s
Prepare E2E tests
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_node_core_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Matrix: job_remix_integration_tests
Size Check
1m 58s
Size Check
Lint
1m 11s
Lint
Circular Dependency Check
1m 41s
Circular Dependency Check
Upload Artifacts
Upload Artifacts
Browser Unit Tests
4m 28s
Browser Unit Tests
Bun Unit Tests
42s
Bun Unit Tests
Deno Unit Tests
1m 12s
Deno Unit Tests
Cloudflare Integration Tests
1m 3s
Cloudflare Integration Tests
Node Overhead Check
3m 30s
Node Overhead Check
Check for faulty .d.ts files
44s
Check for faulty .d.ts files
Matrix: job_e2e_tests
Matrix: job_optional_e2e_tests
All required jobs passed or were skipped
3s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 42 warnings
Browser Unit Tests
Failed to parse /home/runner/work/sentry-javascript/sentry-javascript/packages/replay-internal/vitest.junit.xml: Entity expansion limit exceeded: 1001 > 1000
Browser Unit Tests
Failed to parse /home/runner/work/sentry-javascript/sentry-javascript/packages/react/vitest.junit.xml: Entity expansion limit exceeded: 1002 > 1000
Browser Unit Tests
Failed to parse /home/runner/work/sentry-javascript/sentry-javascript/packages/browser/vitest.junit.xml: Entity expansion limit exceeded: 1001 > 1000
Remix (Node 24) Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Remix (Node 24) Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Remix (Node 24) Tests
No coverage files found
Remix (Node 20) Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Remix (Node 20) Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Remix (Node 20) Tests
No coverage files found
Remix (Node 18) Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Remix (Node 18) Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Remix (Node 18) Tests
No coverage files found
Browser Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Browser Unit Tests
Patch coverage defaulted to 100% because no changed files matched coverage data. Unmatched diff files: dev-packages/e2e-tests/test-applications/node-express-v5/src/mcp.ts, dev-packages/e2e-tests/test-applications/node-express-v5/tests/mcp.test.ts, dev-packages/e2e-tests/test-applications/node-express/src/mcp.ts, dev-packages/e2e-tests/test-applications/node-express/tests/mcp.test.ts, dev-packages/e2e-tests/test-applications/tsx-express/src/mcp.ts, dev-packages/e2e-tests/test-applications/tsx-express/tests/mcp.test.ts, packages/core/src/integrations/mcp-server/correlation.ts, packages/core/src/integrations/mcp-server/transport.ts, packages/core/test/lib/integrations/mcp-server/transportInstrumentation.test.ts Sample coverage paths: ./mute.js, /Users/isaacs/dev/js/events-to-array/etoa.js, /home/runner/work/sentry-javascript/sentry-javascript/packages/browser/src/client.ts This usually indicates a path format mismatch between your coverage tool and the repository.
E2E nextjs-16 (canary, webpack) Test (optional)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Node (18) Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Node (18) Integration Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Node (18) Integration Tests
No coverage files found
Node (18) Integration Tests
Please ensure your test framework is generating JUnit XML output.
Node (18) Integration Tests
No JUnit XML files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (18) Integration Tests
No files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (24) Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Node (24) Integration Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Node (24) Integration Tests
No coverage files found
Node (24) Integration Tests
Please ensure your test framework is generating JUnit XML output.
Node (24) Integration Tests
No JUnit XML files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (24) Integration Tests
No files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (22) Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Node (22) Integration Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Node (22) Integration Tests
No coverage files found
Node (22) Integration Tests
Please ensure your test framework is generating JUnit XML output.
Node (22) Integration Tests
No JUnit XML files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (22) Integration Tests
No files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (20) Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Node (20) Integration Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Node (20) Integration Tests
No coverage files found
Node (20) Integration Tests
Please ensure your test framework is generating JUnit XML output.
Node (20) Integration Tests
No JUnit XML files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (20) Integration Tests
No files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (24) (TS 3.8) Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Node (24) (TS 3.8) Integration Tests
Supported formats: clover, cobertura, jacoco, lcov, istanbul, go, codecov
Node (24) (TS 3.8) Integration Tests
No coverage files found
Node (24) (TS 3.8) Integration Tests
Please ensure your test framework is generating JUnit XML output.
Node (24) (TS 3.8) Integration Tests
No JUnit XML files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml
Node (24) (TS 3.8) Integration Tests
No files found matching pattern: dev-packages/node-integration-tests/**/*.junit.xml

Artifacts

Produced during runtime
Name Size Digest
codecov-coverage-results-fix-mcp-span-status-error-job_browser_unit_tests
86.2 KB
sha256:ade2ab5fd9e2659ce59e5c630842037c694a6f5e043d1f95b3dea5a5904a2bb9
codecov-test-results-fix-mcp-span-status-error-job_browser_unit_tests
242 Bytes
sha256:eab2faa397d03e8ba4c7ee35707d5ec238ddd9eeb6925fb28d387613cc41b9c1
codecov-test-results-fix-mcp-span-status-error-job_remix_integration_tests-18
235 Bytes
sha256:fbe29de27ffd3b78ea7471ca26bd33f8be40a69147761ac5a884271e169ca1e0
codecov-test-results-fix-mcp-span-status-error-job_remix_integration_tests-20
232 Bytes
sha256:03ff77b1e8ba8a70abd22a5576fcfe940c1f148e472c79b87f7e4a4da6367856
codecov-test-results-fix-mcp-span-status-error-job_remix_integration_tests-24
232 Bytes
sha256:7233483b598752762bf433d11033aa91cfc6910534fbf8a19119e349d456b900