You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use stable dagger to build dev dagger, but we should be sure that this "bootstrap" step only uses a stable sdk + engine. It thus might need to have its own go.mod (maybe can use the tools.go convention here?) so we can ensure its only using stable versions.
Our CI steps will typically do something like:
Build+start dev dagger (bootstrapping it with stable dagger)
But developers locally can retain the flexibility of doing the above or instead using stable dagger to run ci steps (i.e. I broke my local dev engine but want to lint my python code still)
The above means that the bootstrap stage where we build dagger w/ dagger can only rely on stable released features. The rest of the steps can use dev features though. I think that's probably fine? Worst case scenario it's always possible to add more stages to your bootstrap process...
Additionally, it would make sense to find a way of modelling this as a sort of "wrapper" where you can run a command that bootstraps dev dagger and then invokes the rest of the commandline you provide in the context of that dev dagger (i.e. DAGGER_HOST=....
A kind of silly approach to this could be mage devdagger sdk:python:test, where the devdagger target invokes mage as a subprocess. But there's probably better ways of doing it too.
Activity
vito commentedon Nov 9, 2022
Picking this up since I need it for #3671 now that it adds new SDK/engine interaction (session initialization).