You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make Bun 1.4.x the default for E2E test apps #26289
E2E test apps run on Bun 1.3.14 by default (.github/actions/prepare-e2e-test/action.yml). Bun 1.3.14's bundler renames classes in bundles (let X = class X {} becomes class X2), which changes Function.name. The SDK can't fix this from its side. #26283 hit it in nestjs-12: Nest span names come from class names, so the bundled Bun variant reports ExampleMiddleware2 and ParseIntPipe2, and 6 span tests fail on 1.3.14. Bun 1.4.4 doesn't have the problem.
#26283 works around it with a per-variant bun-version input for prepare-e2e-test, set to 1.4.4 for the nestjs-12 (bun) variant.
Proposal (raised by Isaac Schlueter in review of #26283): make Bun 1.4.x the E2E default in prepare-e2e-test.
This one change would remove the new bun-version input, its pass-throughs in build.yml, canary.yml and optional-e2e.yml, and the variant pin text in dev-packages/e2e-tests/README.md.
It would also run every Bun E2E app on a Bun release without the class-renaming defect.
Tradeoff: other Bun apps' E2E results may change, and E2E would no longer cover 1.3.14, which build.yml calls the oldest supported Bun version. The Bun unit and integration jobs keep their ['1.3.14', '1.4'] matrix.
Related: #23890 (CI pins a single Bun version, closed).
I reviewed the current develop branch and found a couple of details worth confirming before implementation.
The composite action declares bun-version with a default of 1.3.14, while the setup step has a fallback of 1.4.2. The declared input default currently takes precedence.
I also found the two explicit E2E pins:
nestjs-12: Bun 1.4.4
fastify-5: Bun 1.4.5
My proposed approach is to use exact Bun 1.4.5 as the shared E2E default, remove the redundant per-variant version plumbing and pins, and update the documentation.
I'll preserve the separate Bun 1.3.14/1.4 unit and integration matrix and the standalone canary job.
Since this affects several Bun E2E applications (Hono, Nuxt, Astro, Express, Fastify, NestJS and others), could you confirm that moving all E2E Bun variants to 1.4.5 is intended?
Happy to run the affected E2E variants and verify the workflow changes. I'll wait for your go-ahead before opening a PR.
@Prakash-codeMaker Thank you for being interested, this issue is going to be handled by us internally at this time if that changes I will post an update here.
Activity
linear-code commentedon Nov 11, 2026
JS-4098
test(e2e): Run nestjs-12 on Bun, Deno and Cloudflare (#26283)
Prakash-codeMaker commentedon Nov 26, 2026
Hi @isaacs — I'd like to take #26289.
I reviewed the current
developbranch and found a couple of details worth confirming before implementation.The composite action declares
bun-versionwith a default of1.3.14, while the setup step has a fallback of1.4.2. The declared input default currently takes precedence.I also found the two explicit E2E pins:
nestjs-12: Bun 1.4.4fastify-5: Bun 1.4.5My proposed approach is to use exact Bun 1.4.5 as the shared E2E default, remove the redundant per-variant version plumbing and pins, and update the documentation.
I'll preserve the separate Bun 1.3.14/1.4 unit and integration matrix and the standalone canary job.
Since this affects several Bun E2E applications (Hono, Nuxt, Astro, Express, Fastify, NestJS and others), could you confirm that moving all E2E Bun variants to 1.4.5 is intended?
Happy to run the affected E2E variants and verify the workflow changes. I'll wait for your go-ahead before opening a PR.
Thanks!
logaretm commentedon Nov 26, 2026
@Prakash-codeMaker Thank you for being interested, this issue is going to be handled by us internally at this time if that changes I will post an update here.