Skip to content

bug: no run logs and metadata in dev mode with bun runtime #1671

Open
@terion-name

Description

@terion-name

Provide environment information

System:
OS: macOS 15.2
CPU: (10) arm64 Apple M1 Max
Memory: 107.88 MB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 23.5.0 - /opt/homebrew/bin/node
Yarn: 4.5.2 - /opt/homebrew/bin/yarn
npm: 11.0.0 - /opt/homebrew/bin/npm
bun: 1.2.0 - ~/.bun/bin/bun

Describe the bug

In node runtime everything is ok, in bun runtime – tasks runs don't collect (or) display logs and subtask calls in ui (while functionally everything runs ok)

Reproduction repo

To reproduce

Really any task with logs and metadata.

trigger.config.ts

import { defineConfig } from "@trigger.dev/sdk/v3";

export default defineConfig({
    project: "proj_bcqdfykiuonbqtjykcot",
    runtime: "bun",
    logLevel: "log",
    dirs: ["./trigger"],
    maxDuration: 3600 * 12,
    retries: {
        //If you want to retry a task in dev mode (when using the CLI)
        enabledInDev: false,
        //the default retry settings. Used if you don't specify on a task.
        default: {
            maxAttempts: 3,
            minTimeoutInMs: 1000,
            maxTimeoutInMs: 10000,
            factor: 2,
            randomize: true,
        },
    },
});

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    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