Skip to content

ref(insights): remove eap conditions cache and queues #95230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DominikB2014
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 10, 2025
Copy link

codecov bot commented Jul 10, 2025

❌ 10 Tests Failed:

Tests completed Failed Passed Skipped
10779 10 10769 9
View the top 3 failed test(s) by shortest run time
DatabaseSpanDescription shows query source if available
Stack Traces | 0.018s run time
TypeError: Cannot read properties of undefined (reading 'match')
    at parseFunction (.../utils/discover/fields.tsx:586:25)
    at getAggregateAlias (.../utils/discover/fields.tsx:781:18)
    at getSortKeyFromField (.../utils/discover/eventView.tsx:64:87)
    at .../utils/discover/eventView.tsx:221:23
    at Array.forEach (<anonymous>)
    at new EventView (.../utils/discover/eventView.tsx:211:12)
    at Function.fromSavedQuery (.../utils/discover/eventView.tsx:332:12)
    at Function.fromNewQueryWithPageFilters (.../utils/discover/eventView.tsx:299:22)
    at getEventView (.../common/queries/useDiscover.ts:85:40)
    at useDiscover (.../common/queries/useDiscover.ts:60:21)
    at useSpansIndexed (.../common/queries/useDiscover.ts:20:10)
    at useFullSpanFromTrace (.../common/queries/useFullSpanFromTrace.tsx:27:65)
    at DatabaseSpanDescription (.../common/components/spanDescription.tsx:96:54)
    at Object.react-stack-bottom-frame (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:23863:20)
    at renderWithHooks (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:5529:22)
    at updateFunctionComponent (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:8897:19)
    at beginWork (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:10522:18)
    at runWithFiberInDEV (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:1522:13)
    at performUnitOfWork (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:15140:22)
    at workLoopSync (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14956:41)
    at renderRootSync (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14936:11)
    at performWorkOnRoot (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14462:44)
    at performWorkOnRootViaSchedulerTask (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:16216:7)
    at flushActQueue (.../sentry/node_modules/.pnpm/react@19.1..../react/cjs/react.development.js:566:34)
    at Object.<anonymous>.process.env.NODE_ENV.exports.act (.../sentry/node_modules/.pnpm/react@19.1..../react/cjs/react.development.js:859:10)
    at .../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/pure.js:188:26)
    at Object.render (.../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/pure.js:287:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:293:28)
    at Object.<anonymous> (.../common/components/spanDescription.spec.tsx:106:37)
    at Promise.then.completed (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:121:9)
    at run (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/testWorker.js:106:12)
DatabaseSpanDescription correctly formats and displays MongoDB queries
Stack Traces | 0.019s run time
TypeError: Cannot read properties of undefined (reading 'match')
    at parseFunction (.../utils/discover/fields.tsx:586:25)
    at getAggregateAlias (.../utils/discover/fields.tsx:781:18)
    at getSortKeyFromField (.../utils/discover/eventView.tsx:64:87)
    at .../utils/discover/eventView.tsx:221:23
    at Array.forEach (<anonymous>)
    at new EventView (.../utils/discover/eventView.tsx:211:12)
    at Function.fromSavedQuery (.../utils/discover/eventView.tsx:332:12)
    at Function.fromNewQueryWithPageFilters (.../utils/discover/eventView.tsx:299:22)
    at getEventView (.../common/queries/useDiscover.ts:85:40)
    at useDiscover (.../common/queries/useDiscover.ts:60:21)
    at useSpansIndexed (.../common/queries/useDiscover.ts:20:10)
    at useFullSpanFromTrace (.../common/queries/useFullSpanFromTrace.tsx:27:65)
    at DatabaseSpanDescription (.../common/components/spanDescription.tsx:96:54)
    at Object.react-stack-bottom-frame (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:23863:20)
    at renderWithHooks (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:5529:22)
    at updateFunctionComponent (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:8897:19)
    at beginWork (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:10522:18)
    at runWithFiberInDEV (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:1522:13)
    at performUnitOfWork (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:15140:22)
    at workLoopSync (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14956:41)
    at renderRootSync (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14936:11)
    at performWorkOnRoot (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14462:44)
    at performWorkOnRootViaSchedulerTask (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:16216:7)
    at flushActQueue (.../sentry/node_modules/.pnpm/react@19.1..../react/cjs/react.development.js:566:34)
    at Object.<anonymous>.process.env.NODE_ENV.exports.act (.../sentry/node_modules/.pnpm/react@19.1..../react/cjs/react.development.js:859:10)
    at .../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/pure.js:188:26)
    at Object.render (.../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/pure.js:287:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:293:28)
    at Object.<anonymous> (.../common/components/spanDescription.spec.tsx:144:37)
    at Promise.then.completed (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:121:9)
    at run (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/testWorker.js:106:12)
DatabaseSpanDescription shows full query if full event is available
Stack Traces | 0.021s run time
TypeError: Cannot read properties of undefined (reading 'match')
    at parseFunction (.../utils/discover/fields.tsx:586:25)
    at getAggregateAlias (.../utils/discover/fields.tsx:781:18)
    at getSortKeyFromField (.../utils/discover/eventView.tsx:64:87)
    at .../utils/discover/eventView.tsx:221:23
    at Array.forEach (<anonymous>)
    at new EventView (.../utils/discover/eventView.tsx:211:12)
    at Function.fromSavedQuery (.../utils/discover/eventView.tsx:332:12)
    at Function.fromNewQueryWithPageFilters (.../utils/discover/eventView.tsx:299:22)
    at getEventView (.../common/queries/useDiscover.ts:85:40)
    at useDiscover (.../common/queries/useDiscover.ts:60:21)
    at useSpansIndexed (.../common/queries/useDiscover.ts:20:10)
    at useFullSpanFromTrace (.../common/queries/useFullSpanFromTrace.tsx:27:65)
    at DatabaseSpanDescription (.../common/components/spanDescription.tsx:96:54)
    at Object.react-stack-bottom-frame (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:23863:20)
    at renderWithHooks (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:5529:22)
    at updateFunctionComponent (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:8897:19)
    at beginWork (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:10522:18)
    at runWithFiberInDEV (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:1522:13)
    at performUnitOfWork (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:15140:22)
    at workLoopSync (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14956:41)
    at renderRootSync (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14936:11)
    at performWorkOnRoot (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:14462:44)
    at performWorkOnRootViaSchedulerTask (.../sentry/node_modules/.pnpm/react-dom@19.1.0_react@19.1..../react-dom/cjs/react-dom-client.development.js:16216:7)
    at flushActQueue (.../sentry/node_modules/.pnpm/react@19.1..../react/cjs/react.development.js:566:34)
    at Object.<anonymous>.process.env.NODE_ENV.exports.act (.../sentry/node_modules/.pnpm/react@19.1..../react/cjs/react.development.js:859:10)
    at .../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/pure.js:188:26)
    at Object.render (.../sentry/node_modules/.pnpm/@testing-library+react@16.2.0_@testing-library+dom@10.4.0_@types+react-dom@19.1.1_@type_acd753a47f69d22c76ca69960566dda2/node_modules/@.../react/dist/pure.js:287:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:293:28)
    at Object.<anonymous> (.../common/components/spanDescription.spec.tsx:69:37)
    at Promise.then.completed (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:121:9)
    at run (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/node_modules/.pnpm/jest-circus@29.7.0_babel-plugin-macros@3.1..../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/node_modules/.pnpm/jest-runner@29.7..../jest-runner/build/testWorker.js:106:12)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant