#git? dang? issue when using worktrees ๐
1 messages ยท Page 1 of 1 (latest)
I have a very weird issue when working on worktrees. But I don't know if that's just me or if there's a real issue somewhere else.
So I have a repro
The command I'm using is
dagger call engine-dev playground with-directory --source=. --path=. terminal --cmd=dagger,check,-l
This just creates a playground and list checks
on main on my full clone this is working
https://dagger.cloud/dagger/traces/76429274154c3e08a757d6925a446900?listen=b68c8152c42ab387&listen=8128f285f69f574e for instance
on a worktree, cut from main with no modifications, it's failing
https://dagger.cloud/dagger/traces/f6d0bac553270137c0e551c2ab148f92?listen=81361b58781e36d4#81361b58781e36d4:L13
I just got a bunch of those:
Error: failed to resolve toolchain to source: failed to load sdk for local module source: invalid SDK: "github.com/vito/dang/dagger-sdk@da6ed3337a2a18b0c9a371813ef62b880e1c6f5d" [traceparent:f6d0bac553270137c0e551c2ab148f92-f09400a23500e11f]
failed to resolve toolchain to source: failed to resolve dep to source: failed to load sdk for local module source: invalid SDK: "github.com/vito/dang/dagger-sdk@da6ed3337a2a18b0c9a371813ef62b880e1c6f5d" [traceparent:f6d0bac553270137c0e551c2ab148f92-5fdb2b8a9c5b39fa]
Errors:
- unknown built-in sdk
- failed to get sdk object for sdk module dang-sdk: failed to load runtime: failed to load runtime: failed to load runtime: git config error: Failed to retrieve git config: exit status 128. [traceparent:f6d0bac553270137c0e551c2ab148f92-d5f3962579534547]
Does that ring a bell to anyone?
Ok current theory: it never really worked ... inside the playgorund. Kyle's PR seems to have fixed one-depth only