Skip to content

🐞 dagger init using the typescipt SDK can take a long time. #8954

@cloetzi

Description

@cloetzi

What is the issue?

I was following the quickstart guide to experiment with Dagger in a large monolith repo. The problem was that Dagger is ignoring .gitignore and .dockerignore files for init process and transfers all files in the repository (including node_modules etc) into the Dagger context. This turned out to be extremely slow (~16min using the typescript SDK, ~6 min using the go SDK`). While everything worked at the end, the experience was not great and it was unclear what was taking so long.

Dagger version

dagger v0.14.0 (registry.dagger.io/engine:v0.14.0) darwin/arm64

Steps to reproduce

No response

Log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions