Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-skip: exit on hashing failure (#3524)
This PR tweaks the behavior of auto-skip failures such that hashing problems will force the CLI to exit. Before: ``` $ ./build/linux/amd64/earthly --auto-skip +code Init π ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ auto-skip | unable to calculate hash for +code: circular dependency detected; +code already called buildkitd | Found buildkit daemon as docker container (earthly-dev-buildkitd) Streaming logs to https://cloud.earthly.dev/builds/a3d9a6de-08fc-4967-a103-db3e13440bf4 Build π§ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ golang:1.21-alpine3.17 | --> Load metadata golang:1.21-alpine3.17 linux/amd64 ... ``` After: ``` $ ./build/linux/amd64/earthly --auto-skip +code Init π ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Error: unable to calculate hash for +code: circular dependency detected; +code already called ```
- Loading branch information