#Upgrading modules to 0.12
1 messages ยท Page 1 of 1 (latest)
๐งต
Overall:
-
My code is affected by the breaking changes, which always adds friction, but they are all superficial, and most feel like they are improving my code. In particular
WithNewFile()is massively simplified which feels nice ๐ -
Compat mode is magical
-
If I wasn't intimately familiar with the breaking changes and compat mode, I might not understand what is going on. In particular if compat mode kicks in, I might not realize there are pending breaking changes that I have to deal with
-
dagger developauto-updates mydaggerVersion. Pro: it addresses the previous point by forcing me to deal with breaking changes in my module. Con: sometimes when I rundagger developI don't actually want to deal with the breaking changes just this second.
I got bitten by this last point (dagger develop interference) today, I started an unrelated refactoring, ran dagger develop, then realized that I had been mixing 0.12-related changes into my refactoring. Had to go back and pick them out, annoying.
FYI @lethal bloom @boreal thunder I know you're aware of this. Just continuing the "log" here to collect real world data
Actually I'm kind of stuck
TLDR developing with Dagger 0.12 in a codebase that targets 0.11, is a PITA right now
In the context of our own pipelines @boreal thunder , I'm going to give up, and just rebase all my PRs in flight on top of the 0.12 upgrade PR. Not worth the trouble to target 0.11. I think we should take this into account for the compat DX
i've been fixing up the 0.12 upgrade pr
(granted, the extra internet latency makes all this extra frustrating)
sorry, i'm a bit distracted today, i think we have a pretty big bug somehow in 0.12, going to try and understand how
we somehow see a lot of job hangs after bumping the engine
Well that's obviously more important ๐
Should I plan for the 0.12 upgrade PR to be merged today? If so, I'll rebase everything on that to save time
I might even combine PRs, it's getting a little tiring to juggle so many small PRs
sgtm
@boreal thunder just to confirm, dagger develop with Dagger 0.12 will always generate the 0.12 bindings, correct? In other words my 0.11 code may work in dagger call and dagger functions, but I can't make the IDE error for it go away, correct?
In that case then yes we absolutely need a --compat=VERSION flag to dagger develop
We removed this last minute in #7759.
However, it does seem like we need something here - so proposing this back in. Let the bikeshedding of naming/etc begin, I don't have particularly strong o...
let's move that discussion into ^
Yesterday I used /dev (v0.11) depending on /sdk/python/dev (v0.12) without issue. Basically discarded the engineVersion change after dagger develop, but mostly just repeated dagger -m dev use sdk/python/dev to update the bindings from that dependency without updating engineVersion.
what's dagger use??
alias to dagger install