#๐Ÿš€ v0.13.0 - 11th September 2024

1 messages ยท Page 1 of 1 (latest)

surreal aspen
#

๐Ÿ‘‹

#

โœจ v0.13.0 - 10th September 2024

#

As discussed with <@&946480760016207902> internally, we're gonna try and go for next for v0.13.0 - no super big changes to land, though I'm currently clearing through the milestone of stuff I'd really like to get in

#

I'm on PTO on 9th/10th, so won't be around to run the release - so someone else will need to take this one

#

as always, anything that we want done for v0.13.0 takes priority over other stuff, so please ping me for reviews etc ๐Ÿ™‚

silk birch
#

There is a breaking change which I want to do for the Helm chart. Putting the PR together now.

twin mango
#

Hey! I'm back from PTO too so ready to help on anything ๐Ÿ˜„

surreal aspen
#

so i'm gonna split that out

surreal aspen
twin mango
twin mango
#

@civic spade Regarding context directory, are we sure that relative path should lead to the directory container the dagger.json or not? I'm still writing the 0.13 blog post but I'm not sure what to write on this part

#

If I need to update the path resolution, I'll need to merge a PR and indeed update the tests, let me know asap please ๐Ÿ™

twin mango
#

@civic spade ^

civic spade
#

@twin mango there seemed to be consensus, but it's not just a question for me - @tropic solar @clear otter do you still feel we should revert the behavior, from "relative path start from source dir" to "relative path start from module root dir"?

As a reminder the argument was:

  • It's useful (and requested) to access the module root
  • There's no reliable way to get module root
  • There's already dag.CurrentModule().Source() to access module source
clear otter
maiden mirage
#

Yeah, me too.

civic spade
#

Thanks @maiden mirage, didn't want to ping you too late

twin mango
#

@surreal aspen I did the check for the TS drop commonJS in favor of module: https://github.com/dagger/dagger/pull/8237#issuecomment-2338852872

Seems like it's not specifically breaking anything, I also pushed the script I used (it's really a quick & dirty script but it does the job)

GitHub

Bump graphql-request to 7.1.0 which drop CommonJS supports. This introduce a breaking change for the TS runtime that also needs to drop CommonJS support.
Bump execa to 9.3.1 which requires to bump ...

twin mango
#

@maiden mirage Hey ๐Ÿ˜„
Very important PR to include in the release https://github.com/dagger/dagger/pull/8391 because it changes the behaviour of context directory.
@bold arch Blog post should be updated in consequences too, the relative path actually point to the location of the dagger.json and no longer the module source's code

GitHub

Changes relative path root to root source dir instead of source dir based on #1280818249633890365 message
Adapt tests based on that.

silk birch
maiden mirage
#

Most are from Justin and he already agreed to push a few of them. Waiting for tomorrow SGTM.

twin mango
twin mango
surreal aspen
#

8149 is from sipsma, but is in my pr (I wrote some tests for it - it lgtm, but needs another approval that isn't me otherwise it can't be merged)

#

8331 isn't too complex, just covers an edge case we weren't before, though not technically a recent regression, it's surprising no one has hit it before

#

8347 should be able to be merged now, vito approved it

silk birch
silk birch
silk birch
silk birch
twin mango
#

Done

twin mango
#

My last PR for the release is the context directory doc, I'll do my best to ship it tomorrow ๐Ÿ˜„

surreal aspen
#

hallo ๐Ÿ‘‹ been merging prs, just waiting for tests to run on stuff

maiden mirage
#

I'm trying to add the backwards compat for https://github.com/dagger/dagger/pull/8106 since it came up yesterday (https://discord.com/channels/707636530424053791/1283107857981509734). Already have the legacy test, just need to see how to switch to the old behavior based on the version in Go's codegen.

GitHub

Part of Confusion over what "optional" meansย #6749
Fixes ๐Ÿž Optional fields from Python Module are mandatory in Goย #6964

WarningThis is a breaking change for Go SDK users when dep...

silk birch
maiden mirage
silk birch
#

โœจ v0.13.0 - 11th September 2024

silk birch
#

Are you OK to run this release @surreal aspen ?

surreal aspen
#

i can, yes, still getting back on board though - anything i need to know?

silk birch
#

AFAIK, everything but that one PR above is merged & ready to go. Just a matter of going through the usual process.

prime umbra
#

If everything is green for https://github.com/dagger/dagger/pull/8365, might be nice to have it.

Otherwise I think we'll have a 0.13.1 pretty soon

Users are having issues with the ssh_auth_sock due to relative paths. If the PR is all green, might be worth having it. It's an incomplete fix just to try to fit in the release (reduced the scope and revised the pr)

#

If it fails then it's ok to skip

#

If too late it's ok too

silk birch
#

Anything else that we are missing from this release @maiden mirage ?

prime umbra
silk birch
maiden mirage
prime umbra
surreal aspen
silk birch
surreal aspen
#

will do salute

silk birch
surreal aspen
surreal aspen
#

@maiden mirage do you want to follow-up with the python changes? i'm happy to hold until then

maiden mirage
maiden mirage
surreal aspen
#

hm

#

cc @twin mango any insight into that?

#

but publish was broken so didn't notice

#

โš ๏ธ blocking on this

surreal aspen
#

cc @tropic solar @maiden mirage ๐Ÿ‘€ ^

#

it would be nice to daggerize these ๐Ÿ˜ข

#

sorry @tropic solar ๐Ÿ™

twin mango
#

Seems like I forget to bump that again, it's not the first time it's happening that changes on TS version breaks the CI, we should have some job to catch it

surreal aspen
#

grr

#

setup-bun has a bug

#

"use this syntax it says" 1.0.x - 1.1.x does not work though

#

anyone? ๐Ÿ™

#

cc @tropic solar @maiden mirage sorry sorry sorry

#

if this one doesn't work, i'm going to have a little moment

#

thank you both โค๏ธ

tropic solar
#

all in a day's work

surreal aspen
#

right, it works now

#

tagging

civic spade
#

for next time: context directory (flagship feature of this release) is completely undocumented. We should not have closed the issue, and therefore the release should have been held up.

surreal aspen
#

ah

civic spade
#

I saw another instance of that just last week

surreal aspen
#

๐Ÿ‘

#

can we make sure to call this out in #team/even team meeting, i think that's a good point, and we should make sure to not miss it

quasi jewel
surreal aspen
#

also, i think we can add a needs/docs tag, we already have a needs/changelog one

#

i can come up with an automated check for that one, but it's easy to add a tag for it right now so we don't forget it

#

added this right now: https://github.com/dagger/dagger/labels/needs%2Fdocs
we can keep updating our approach, but for now we can add this to prs to indicate that we need docs before merging/or as a follow-up to be opened before merging (cc @maiden mirage @placid forum @civic spade)

civic spade
#

the very first change we can make is to remember not to close issues until docs are shipped.

surreal aspen
#

engine+cli+sdks+helm chart all done

#

@clear otter @balmy grotto @silk birch@prime umbra playground/cloud/daggerverse can all be updated

#

re-deployed docs as well, now deployed off of main

#

I think that should be everything I need to do right now, I need to head off for a bit in a few minutes (but can be back later if there are any unexpected ๐Ÿ”ฅs)

#

cc @quasi jewel @civic spade main part of the release here is done - all that should need doing is re-deploying the docs once the context dir docs are merged

surreal aspen
#

hopping offline now

mellow garnet
twin mango
#

Already reviewed ๐Ÿ˜„

quasi jewel
#

@twin mango when you get online tomorrow, can you do a final review on the context dir. docs PR? @mellow garnet will merge as soon as you do - https://github.com/dagger/dagger/pull/8339#issuecomment-2344616698

GitHub

Update Function page to include contextual value. Add examples with code snippets.
๐Ÿ’ก I choose to create a similar example but with a simple setup specific to the language, I would like some feedbac...

twin mango
#

I'll review right now so he can fix the CI before merging it

#

PR reviewed!

mellow garnet
#

Yup

#

I'm trying to get the CI green

mellow garnet
surreal aspen
#

๐Ÿš€ v0.13.0 - 11th September 2024

cunning agate
#

Should this be working on macos? I've got v0.13 installed via brew and get the below.

$ dagger core container from --address=alpine terminal

โœ˜ connect 17.8s
! start engine: failed to pull image: failed to run command: exit status 1
  โœ˜ starting engine 17.8s
  ! failed to pull image: failed to run command: exit status 1
    โœ˜ create 17.8s
    ! failed to pull image: failed to run command: exit status 1
      โœ” resolve image 1.8s
      โœ” exec docker ps -a --no-trunc --filter name=^/dagger-engine- --format {{.Names}} 0.2s
      โœ˜ exec docker inspect --type=image registry.dagger.io/engine:v0.13.0 0.0s
      ! failed to run command: exit status 1
      โ”ƒ []                                                                                                                     
      โ”ƒ Error response from daemon: No such image: registry.dagger.io/engine:v0.13.0                                           
      โœ˜ exec docker pull registry.dagger.io/engine:v0.13.0 15.8s
      ! failed to run command: exit status 1
      โ”ƒ Error response from daemon: Head "https://registry.dagger.io/v2/engine/manifests/v0.13.0": Get "https://registry.dagger
      โ”ƒ n?scope=repository%3Aengine%3Apull&service=ghcr.io": net/http: request canceled while waiting for connection (Client.Ti
      โ”ƒ ceeded while awaiting headers)
civic spade
cunning agate
#

docker pull is working so that's interesting. Anyway, a me problem, I'll figure it out. Thanks! ๐Ÿ™‚

cunning agate
#

Yeah seems to be a colima issue. Shame.

civic spade
#

@cunning agate were you able to get it to work?

cunning agate
#

Yep, swapped to docker desktop and all good. Thanks for checking ๐Ÿ™‡โ€โ™‚๏ธ