Earlier quoted context omitted.
Dagger uses BuildKit. all your “imperative” code does it assemble a graph that’s gonna be executed by BuildKit in dependency order.
But that dependency order is usually just one big blob of ”COPY src/ . + RUN make”, within that block you have none of the benefits. Bazel/Buck has much finer awareness down to every individual file. Out of curiosity, would it be feasible to take a big cmake project and generate thousands of compile rules into dagger and use it as a substitute for make with sandboxing? I’ve never seen builkit used with such many node…
Dagger: Define software delivery workflows and dev environments
51–60 of 78 posts
Re: Dagger: Define software delivery workflows and dev environments
#52Anybody used it? Without the LLM bits, this is basically like Bazel or buck2, right?
Re: Dagger: Define software delivery workflows and dev environments
#53I loved the original promise of Dagger and it’s still 90% great. But one flaw (IMO) that it can’t export artifacts and import into other steps without breaking the cache. Eg if you provide monorepo as input, and then on some step narrow your build to one specific dir, then even when files change outside of that dir then caching still is invalidated. Which makes it extremely verbose and maintenance nightmare to keep m…
Re: Dagger: Define software delivery workflows and dev environments
#54Anybody used it? Without the LLM bits, this is basically like Bazel or buck2, right?
Works fine for us for glueing a bunch of CI steps together which would've been a pile of bash otherwise. Works well with depot.dev caches. We don't use it for anything AI either.
Re: Dagger: Define software delivery workflows and dev environments
#55Dagger is already a very popular thing -- a DI framework
Re: Dagger: Define software delivery workflows and dev environments
#56Dagger is already a very popular thing -- a DI framework
/s I've never heard of Dagger the DI framework but I have heard of this Dagger. Names will overlap sometimes and it's not a big deal.
Re: Dagger: Define software delivery workflows and dev environments
#57Dagger was something I looked into two or so years ago before they got consumed by the LLM and AI agent hype, and while the promise of being able to run the exact CI workflows locally seemed excellent, it seemed that there's basically no way be a Dagger user without buying into their Dagger Cloud product. I ended up opting for CUE and GitHub Actions, and I'm glad I did as it made everything much, much simpler.
Can you explain/link to why you can't really use this without their cloud product? I'm not seeing anything at a glance, and this looks useful for a project of mine, but I don't want to be trapped by limitations that I only find out about after putting in weeks of work
If you have questions about Dagger, I encourage you to join our Discord server, we will be happy to answer them!
Re: Dagger: Define software delivery workflows and dev environments
#58Earlier quoted context omitted.
Dagger uses BuildKit. all your “imperative” code does it assemble a graph that’s gonna be executed by BuildKit in dependency order.
But that dependency order is usually just one big blob of ”COPY src/ . + RUN make”, within that block you have none of the benefits. Bazel/Buck has much finer awareness down to every individual file. Out of curiosity, would it be feasible to take a big cmake project and generate thousands of compile rules into dagger and use it as a substitute for make with sandboxing? I’ve never seen builkit used with such many node…
Re: Dagger: Define software delivery workflows and dev environments
#59Re: Dagger: Define software delivery workflows and dev environments
#60Dagger was something I looked into two or so years ago before they got consumed by the LLM and AI agent hype, and while the promise of being able to run the exact CI workflows locally seemed excellent, it seemed that there's basically no way be a Dagger user without buying into their Dagger Cloud product. I ended up opting for CUE and GitHub Actions, and I'm glad I did as it made everything much, much simpler.