trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

bug: Deployment UI shows Node.js runtime when using Bun

Open isshaddad opened this issue 9 months ago • 3 comments

Provide environment information

n/a

Describe the bug

The deployment UI shows "Node.js" as the runtime even when the project is built and run with Bun.

  • Build works with a pre-build command like: bun run build --filter="./packages/*"
  • Logs show Bun in use (e.g. bun run ..., Bun version)
  • UI still displays "Node.js" as the runtime

Expected: UI should show "Bun" (or the actual runtime) when Bun is used. This is a display bug only; behavior is correct.

Reproduction repo

n/a

To reproduce

  1. Use Bun for build/run (e.g. add pre-build: bun run build --filter="./packages/*").
  2. Deploy successfully.
  3. Open the deployment in the dashboard.
  4. See "Node.js" shown as runtime instead of Bun.

Additional information

Purely a UI/label issue

isshaddad avatar Feb 20 '26 14:02 isshaddad

This happen when deploying from git integration

duvillierA avatar Feb 21 '26 09:02 duvillierA

I'd like to work on this fix, ig purely a display-layer change, will have a PR up soon

abhay0132 avatar Mar 19 '26 12:03 abhay0132

Fixed in https://github.com/triggerdotdev/trigger.dev/commit/d639a72df511a8a9310b34294008c7724fb12aea.

Deployments now show the runtime the worker actually reported, so Bun deployments are no longer labelled "Node.js". A deployment with no recorded runtime shows a dash rather than defaulting to Node.js.

isshaddad avatar Sep 15 '26 13:09 isshaddad