[stacked] Struct API and bullet stream for Bundle install layer #332
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This layer is a bit different from the others. We need to pull out the old layer metadata to determine whether we want to skip
bundle install
.To accommodate that I changed the behavior of the shared layer logic to return a new struct
Meta
which can act as either a message for why cache data was cleared or the old metadata. I was able to make this refactor without needing to modify any other layer (other than tests).Commits are self-contained they should all compile.