Skip to content

Conversation

@andreiborza
Copy link
Member

No description provided.

JPeer264 and others added 19 commits December 2, 2025 16:07
…es (#18380)

We don't need to add tickets for our internal releases such as
#18378, [Gitflow
automations](#18255)
or [contributor
updates](#15156)
This upgrades our internal eslint config to use v8. Theoretically this
is considered a breaking change. Since this is an internal
`@sentry-internal/*` package, we can release this in a non-breaking
fashion

With v8 couple of changes came. Some of them are affecting us, which
required file changes:

-
[simple-import-sort/import](https://www.npmjs.com/package/eslint-plugin-simple-import-sort)
got couple of fixes
- "Unused eslint-disable directive": Unused "eslint-disable" comments
are now detected and marked as error
- [import/export](https://www.npmjs.com/package/eslint-plugin-import)
got a false positive, which affects most of our index barrel files (I
didn't want to disable it entirely, so I added a global disable in each
affected barrel file)
- tracked here:
import-js/eslint-plugin-import#703


## Merge checks

- [ ] Rebased before merge to get the latest changes updated with the
new version
…ng mergeability (#18383)

I think this action ran through faster than it took the Gitflow PR CI to
start which is why it immediately detected a mergable state and finished
running without reporting an issue.

The action now waits a minute before starting its check.

Closes #18384
Pinning these versions as the latest seems to introduce breaking changes
that blocks our CI

Closes #18391
[Gitflow] Merge master into develop
This fix will check for a `msg` field in the logger call
(https://getpino.io/#/docs/api?id=messagekey-string) if there was no
message string passed:

```ts
logger.info("This was always logged");
logger.info({ msg: "This now gets logged too" }); // This pr adds support for this
```

closes #18381
closes
https://linear.app/getsentry/issue/JS-1245/pinotransport-ignores-msg-field
This sets up a basic E2E test for the Tanstack Start React SDK.

For now I have added the following three tests:
- An error thrown directly on the client is automatically captured.
- An error thrown from a server side function is automatically captured.
I am not sure why this works atm, but probably this is somehow
propagated to the frontend.
- An error thrown from a server route is only captured if we manually
instrument it with `Sentry.captureException`.


Closes #18265
This avoids looking up the integration for openai instrumentation,
instead relying on this being passed in (which it already is). When
manually instrumenting the client you need to pass in the options
directly.

1. Node: Options are passed from the integration to
instrumentOpenAiClient anyhow, so nothing changes
2. cloudflare/vercel-edge: There is no integration, users need to
manually call instrumentOpenAiClient() and pass in the options anyhow
(no integration to look anything up from exists there)

See also #17694

Closes #18375

---------

Co-authored-by: RulaKhaled <rola.abuhasna@sentry.io>
Also, sort the fields in the integration test, in order to more easily
se which fields were missing/misnamed in the fixture objects.

Fix JS-1216
Fix JS-1236
This is the opposite of the flake that happened in
#18035, so apparently
nuxt-3 flaky tests started after merging that PR.

It looks like the same problem, we have a race condition, if Nitro
catches the error first when executing the middleware handler it will be
swallowed by an H3 error but it seems the `instanceof` check isn't being
satisfied in this case, so perhaps with Nuxt 3, there isn't a unified H3
instance or perhaps we are using a different one for the check.

I will take a better look later, this is a band-aid to stop this from
randomly failing our PRs. I couldn't reproduce this locally at all tho.

If we don't like this relaxation we can close this PR and I can spend
more time on this, I thought the most important thing here is we do
capture an error with the critical information.
@andreiborza andreiborza requested a review from a team as a code owner December 4, 2025 13:29
@andreiborza andreiborza requested a review from chargome December 4, 2025 13:29
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.8 kB added added
@sentry/browser - with treeshaking flags 23.31 kB added added
@sentry/browser (incl. Tracing) 41.54 kB added added
@sentry/browser (incl. Tracing, Profiling) 46.13 kB added added
@sentry/browser (incl. Tracing, Replay) 79.96 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.68 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 84.64 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 96.88 kB added added
@sentry/browser (incl. Feedback) 41.48 kB added added
@sentry/browser (incl. sendFeedback) 29.49 kB added added
@sentry/browser (incl. FeedbackAsync) 34.47 kB added added
@sentry/react 26.52 kB added added
@sentry/react (incl. Tracing) 43.74 kB added added
@sentry/vue 29.25 kB added added
@sentry/vue (incl. Tracing) 43.34 kB added added
@sentry/svelte 24.82 kB added added
CDN Bundle 27.21 kB added added
CDN Bundle (incl. Tracing) 42.21 kB added added
CDN Bundle (incl. Tracing, Replay) 78.75 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 84.2 kB added added
CDN Bundle - uncompressed 79.96 kB added added
CDN Bundle (incl. Tracing) - uncompressed 125.34 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 241.37 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 254.13 kB added added
@sentry/nextjs (client) 45.96 kB added added
@sentry/sveltekit (client) 41.9 kB added added
@sentry/node-core 51.27 kB added added
@sentry/node 159.53 kB added added
@sentry/node - without tracing 92.85 kB added added
@sentry/aws-serverless 108.14 kB added added

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,818 - - added
GET With Sentry 1,690 19% - added
GET With Sentry (error only) 6,047 69% - added
POST Baseline 1,181 - - added
POST With Sentry 564 48% - added
POST With Sentry (error only) 1,031 87% - added
MYSQL Baseline 3,305 - - added
MYSQL With Sentry 444 13% - added
MYSQL With Sentry (error only) 2,682 81% - added

@andreiborza andreiborza merged commit 7b3b613 into master Dec 4, 2025
202 of 203 checks passed
@andreiborza andreiborza deleted the prepare-release/10.29.0 branch December 4, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants