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

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

Open terion-name opened this issue 11 months ago • 0 comments

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

terion-name avatar Feb 06 '25 13:02 terion-name