sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Extend BunOptions with NodeOptions

Open JPeer264 opened this issue 2 weeks ago • 1 comments

Description

It seems that the init function of @sentry/bun passes everything down to the init of @sentry/node:

https://github.com/getsentry/sentry-javascript/blob/167b6dbc785dfac32201c01ec2f0c40e261e1c32/packages/bun/src/sdk.ts#L116

However we have separate BunOptions available for the init of bun, which causes fixes such as #18436 or #17349. If we e.g. extend the NodeOptions, we won't have a problem anymore, but we need to verify if that wouldn't cause any issues.

JPeer264 avatar Dec 09 '25 09:12 JPeer264

JS-1272

linear[bot] avatar Dec 09 '25 09:12 linear[bot]