v0.12.6 question with the new private git support via SSH. I have a mono-repo of private Dagger modules in a private GitHub Organization.
Testing on a Mac, I get a failed to load cache key error:
dagger -m git@github.com:org/daggerverse.git functions
Setup tracing at https://dagger.cloud/traces/setup. To hide: export GOAWAY=1
✔ connect 2.0s
✘ initialize 1.3s
! failed to get configured module: failed to get module ref kind: input: moduleSource resolve: failed to resolve git src to commit: failed to load cache key: error fetching default branch for repository git@github.com:org/daggerverse.git: git error: exit status 128
✘ resolving module ref 1.3s
! failed to get configured module: failed to get module ref kind: input: moduleSource resolve: failed to resolve git src to commit: failed to load cache key: error fetching default branch for repository git@github.com:org/daggerverse.git: git error: exit status 128
✘ moduleSource(refString: "git@github.com:org/daggerverse.git"): ModuleSource! 0.9s
! failed to resolve git src to commit: failed to load cache key: error fetching default branch for repository git@github.com:org/daggerverse.git: git error: exit status 128
✘ cache request: git://github.com/org/daggerverse.git 0.6s
! error fetching default branch for repository git@github.com:org/daggerverse.git: git error: exit status 128
Error: failed to get configured module: failed to get module ref kind: input: moduleSource resolve: failed to resolve git src to commit: failed to load cache key: error fetching default branch for repository git@github.com:org/daggerverse.git: git error: exit status 128
stderr:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.