-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(bun) Export pinoIntegration from @sentry/node #17990
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -166,6 +166,7 @@ export { | |
| consoleLoggingIntegration, | ||
| createConsolaReporter, | ||
| createSentryWinstonTransport, | ||
| pinoIntegration, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stale ignoreExports entry undermines test coverage for new exportMedium Severity
Triggered by project rule: PR Review Guidelines for Cursor Bot |
||
| wrapMcpServerWithSentry, | ||
| featureFlagsIntegration, | ||
| launchDarklyIntegration, | ||
|
|
||


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.
Bug: The PR exports
pinoIntegrationfor Bun, but a test file marks it as unsupported. This will cause CI failure and likely runtime errors due to missing runtime APIs.Severity: HIGH
Suggested Fix
Either remove the
pinoIntegrationexport frompackages/bun/src/index.tsif it is indeed unsupported by Bun, or, if it is now supported, removepinoIntegrationfrom theignoreExportsarray indev-packages/e2e-tests/test-applications/node-exports-test-app/scripts/consistentExports.tsand provide evidence that the underlyingdiagnosticsChannelAPI works correctly in Bun.Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.