We ran into this panic this morning, this was running in a gh action - rerunning the action worked fine:
25 : Container.sync ERROR [2.7s]
25 : ! failed to compute cache key: failed to read expected number of bytes: unexpected EOF17 : *******.testEndToEnd(******): *******TestResult!
17 : [18.7s] | panic: unexpected error while checking exit code: input: container.from.withEnvVariable.withSecretVariable.withSecretVariable.withSecretVariable.withMountedDirectory.withWorkdir.withExec.sync resolve: failed to compute cache key: failed to read expected number of bytes: unexpected EOF
I've got a dagger cloud trace link i can dm if its helpful.