When we upgrade the dagger engine from v0.18.12 -> v0.18.16 we started to see the below errors:
unexpected status 200: get or init client: initialize client: failed to add client resources from ID: failed to add socket from source client yk2roxtw4nq7kau0lz5gzstu5: socket xxh3:cf078eddb126861b not found in other store
failed to return error: get or init client: initialize client: failed to add client resources from ID: failed to add socket from source client yk2roxtw4nq7kau0lz5gzstu5: socket xxh3:cf078eddb126861b not found in other store
original error: get parent name: get or init client: initialize client: failed to add client resources from ID: failed to add socket from source client yk2roxtw4nq7kau0lz5gzstu5: socket xxh3:cf078eddb126861b not found in other store
It seems to be related to calls to the dag.Git function where the git url is a private repository:
type Failing struct {
}
func (f *Failing) Failure(socket *dagger.Socket) <returnType> {
dag.Git("git@github.com:org/privte-repo.git", dagger.GitOpts{
SSHAuthSocket: socket,
})}
We have only managed to reproduce this in our CI (Github actions that runs on k8s custom runner running linux)
Locally on a Macbook Pro m2, we cannot reproduce it.
Does this make sense to any of you?