Skip to content
Discussion options

You must be logged in to vote

So, for a --reuse-temp feature, just finding the previous failed build dir is pretty tricky! Each time we build a recipe, we create a new directory with a random name. And since multiple builds can run in parallel, there might not even be a single previous failed build dir. The recipe hash doesn't help us, since if any of the inputs to the recipe change at all-- say, updating the source code in the project, or basically any change you could try to make to fix a build-- then the recipe hash changes, and there's no concept to get what the "previous" recipe hash was. It's just impossible to do with the way recipes are structured today1.

There are several other challenges (although not as big…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nz366
Comment options

@kylewlacy
Comment options

Answer selected by nz366
@nz366
Comment options

@kylewlacy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants