Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
terion-name opened this issue Feb 6, 2025 · 0 comments
Open

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

terion-name opened this issue Feb 6, 2025 · 0 comments

Comments

@terion-name
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant