Skip to content

[FEATURE]: Upgrade bundled Bun from 1.3.14 to 1.4.2 #44945

Description

@AlexanderWillner

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Bump the pinned runtime from bun@1.3.14 to bun@1.4.1 (released 2026-09-04; 1.4 shipped 2026-08-20 with the Zig→Rust rewrite). The only pin is packageManager in the root package.json — CI (.github/actions/setup-bun) reads it and bun build --compile embeds the running version into release binaries.

Benefit, measured on v1 (macOS arm64, peak RSS, isolated data dirs):

1.18.22 (Bun 1.3.14 embedded) rebuilt with Bun 1.4.0
--version startup ~173 MB ~149 MB (-14 %)
serve cold+idle 624–782 MB, unstable between runs ~567–576 MB, stable
TUI boot over a 6.2 GB / 6527-file repo 3.7 s 3.1 s
test suite (3339 tests) 276 s 232 s

1.4.1 is a small follow-up to the Rust rewrite; locally verified that the 1.4.0 measurement holds and the suite stays green.

Prerequisite: #44943 — without those changes the suite is red under 1.4 (unhandled rejection from the SSE chunk-timeout path; plus one load-sensitive PTY poll deadline).

A PR implementing the bump (now targeting 1.4.1) is up as #44946.

Before flipping stable, Windows needs a smoke test: the fix referenced from #44513 is not visible in the 1.4.0 release notes and related unwind issues (oven-sh/bun#38789, #39101) are still open.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions