Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"dist/index.d.cts"
],
"license": "FSL-1.1-Apache-2.0",
"packageManager": "bun@1.3.11",
"packageManager": "bun@1.3.13",
"patchedDependencies": {
"@stricli/core@1.2.5": "patches/@stricli%2Fcore@1.2.5.patch",
"@sentry/node-core@10.50.0": "patches/@sentry%2Fnode-core@10.50.0.patch",
Expand Down
11 changes: 6 additions & 5 deletions script/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,12 @@ async function compileTarget(target: BuildTarget): Promise<boolean> {
// identifier renaming collision bug (oven-sh/bun#14585).
minify: { whitespace: true, syntax: true, identifiers: false },
// NOTE: `bytecode: true` would move JS parse cost from startup to
// build time, but as of Bun 1.3.11 it crashes our ESM bundle at
// runtime with "Expected CommonJS module to have a function wrapper"
// before any of our code runs. Likely related to oven-sh/bun#21097 /
// #23490. Revisit once Bun's bytecode path stabilizes for our two-
// step esbuild-then-compile pipeline.
// build time, but as of Bun 1.3.13 it still crashes our ESM bundle
// at runtime with "Expected CommonJS module to have a function
// wrapper" before any of our code runs (esbuild emits ESM at line
// 126; the bytecode loader mis-caches it as CJS). Tracks
// oven-sh/bun#21097 / #23490. Retested on Bun 1.3.13; still broken.
// Revisit once Bun's bytecode path supports ESM under compile.
});

if (!result.success) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function getCliEnvironment(version: string = CLI_VERSION): string {
* Generate the User-Agent string for API requests.
* Format: sentry-cli/<version> (<os>-<arch>) <runtime>/<version>
*
* @example "sentry-cli/0.5.0 (linux-x64) bun/1.3.3"
* @example "sentry-cli/0.5.0 (linux-x64) bun/1.3.13"
* @example "sentry-cli/0.5.0 (darwin-arm64) node/22.12.0"
*/
export function getUserAgent(): string {
Expand Down
2 changes: 1 addition & 1 deletion test/lib/bench/helpers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ describe("compareReports", () => {
const baseline: BenchReport = {
version: 1,
generatedAt: "2026-01-01T00:00:00.000Z",
runtime: { bun: "1.3.11", platform: "linux", arch: "x64", cpus: 8 },
runtime: { bun: "1.3.13", platform: "linux", arch: "x64", cpus: 8 },
entries: [
{
fixture: "synthetic/small",
Expand Down
Loading