-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(solidstart): Add autoInjectServerSentry: 'experimental_dynamic-import
#14863
Conversation
size-limit report 📦
|
❌ 3 Tests Failed:
View the top 3 failed tests by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
6616ad1
to
a13d2b6
Compare
dev-packages/e2e-tests/test-applications/solidstart-dynamic-import/tests/errorboundary.test.ts
Show resolved
Hide resolved
if (options.autoInjectServerSentry !== 'experimental_dynamic-import') { | ||
sentryPlugins.push(makeBuildInstrumentationFilePlugin(options)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m: I left this comment on the other PR as well, just to ensure we don't forget about it here: We copy the release injection files now, so we should add the plugin in a way that the instrumentation file also gets injected with debug ids.
a13d2b6
to
5ff2f0f
Compare
…instrumentation files
0d73fd9
to
60dacf6
Compare
60dacf6
to
333d210
Compare
5ff2f0f
to
f84bcf5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
# Conflicts: # packages/solidstart/src/config/addInstrumentation.ts # packages/solidstart/src/config/withSentry.ts # packages/solidstart/src/vite/sentrySolidStartVite.ts # packages/solidstart/src/vite/types.ts # packages/solidstart/test/config/addInstrumentation.test.ts
…import` (#14863)⚠️ THIS PR IS BASED ON #14862 Adds the option to dynamically import the server config file. ```typescript // app.config.ts import { defineConfig } from '@solidjs/start/config'; import { sentrySolidStartVite, withSentry } from '@sentry/solidstart'; export default defineConfig(withSentry( { /* ... */ }, { autoInjectServerSentry: 'experimental_dynamic-import' }) ); ``` --------- Co-authored-by: Andrei Borza <[email protected]> (cherry picked from commit 38ff6eb)
…import` (#14863)⚠️ THIS PR IS BASED ON #14862 Adds the option to dynamically import the server config file. ```typescript // app.config.ts import { defineConfig } from '@solidjs/start/config'; import { sentrySolidStartVite, withSentry } from '@sentry/solidstart'; export default defineConfig(withSentry( { /* ... */ }, { autoInjectServerSentry: 'experimental_dynamic-import' }) ); ``` --------- Co-authored-by: Andrei Borza <[email protected]> (cherry picked from commit 38ff6eb)
…15135) Backport of #14862 and #14863 --------- Co-authored-by: Andrei Borza <[email protected]>
Adds the option to dynamically import the server config file.