-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUILD --auto-skip
is caching failures
#4054
Comments
the hash is inserted when this call is made: earthly/earthfile2llb/interpreter.go Line 1294 in 1b3bfd4
calling this here is incorrect, since the This code has an additional bug where the platform type doesn't seem to be used in calculating the hash. If the hash is platform agnostic (which might make sense since we need to be careful when pushing multi-platform images), it seems like we need to wait for all platforms to build (execute) correctly before saving the hash. |
Note that this can still be replicated with:
and running:
|
What went wrong?
on the first run, it fails:
however on the second run auto-skip is activated:
What should have happened?
the first run failed, therefore no auto-skip entry should have been recorded.
the second run should not invoke auto-skip, and it should re-run the same step that failed.
What earthly version?
earthly version prerelease 1b3bfd4 linux/amd64; Ubuntu 23.10 (Mantic Minotaur)
Buildkit Logs
No response
Other Helpful Information
No response
The text was updated successfully, but these errors were encountered: