From 59da8d3b9da52c6c569db2d3ed564c685b1818e5 Mon Sep 17 00:00:00 2001 From: Scott Tolinski Date: Fri, 1 Nov 2024 14:48:09 -0600 Subject: [PATCH] temp removes profiling node for testing --- .github/workflows/playwright-tests.yml | 6 ------ package.json | 1 - src/hooks.server.ts | 4 ++-- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/playwright-tests.yml b/.github/workflows/playwright-tests.yml index 8280862ce..31466dd17 100644 --- a/.github/workflows/playwright-tests.yml +++ b/.github/workflows/playwright-tests.yml @@ -38,12 +38,6 @@ jobs: - name: Install dependencies run: pnpm install - - name: Prune incompatible dependencies - run: pnpm prune --prod - - - name: Info - run: npx envinfo --preset playwright - - name: Setup DB run: pnpm db:generate diff --git a/package.json b/package.json index 43be06b3d..d864390e5 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,6 @@ "@leveluptuts/svelte-side-menu": "^1.1.0", "@oddbird/popover-polyfill": "^0.4.4", "@prisma/client": "5.18.0", - "@sentry/profiling-node": "^8.28.0", "@sentry/sveltekit": "^8.28.0", "@sparticuz/chromium": "^122.0.0", "@svelte-put/shortcut": "^3.1.1", diff --git a/src/hooks.server.ts b/src/hooks.server.ts index 3928b3819..2087963c6 100644 --- a/src/hooks.server.ts +++ b/src/hooks.server.ts @@ -12,7 +12,7 @@ import { dev } from '$app/environment'; import { UPSPLASH_TOKEN, UPSPLASH_URL } from '$env/static/private'; import get_show_path from '$utilities/slug'; import { Redis } from '@upstash/redis'; -import { nodeProfilingIntegration } from '@sentry/profiling-node'; +// import { nodeProfilingIntegration } from '@sentry/profiling-node'; export const cache_status = UPSPLASH_URL && UPSPLASH_TOKEN ? 'ONLINE' : 'OFFLINE'; @@ -38,7 +38,7 @@ Sentry.init({ profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate environment: dev ? 'development' : 'production', integrations: [ - nodeProfilingIntegration, + // nodeProfilingIntegration, Sentry.prismaIntegration(), Sentry.redisIntegration({ cachePrefixes: ['show:', 'shows:', 'show-og:'] }) ],