-
-
Notifications
You must be signed in to change notification settings - Fork 759
GH4471: Improve script cache hash generation algorithm #4472
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
GH4471: Improve script cache hash generation algorithm #4472
Conversation
|
@devlead I know you initially worked on this feature, would you care doing a review? Thanks! |
5098ca6 to
6c6609b
Compare
devlead
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
@GeertvanHorrik your changes have been merged, thanks for your contribution 👍 |
|
Thank you very much! Is there an estimate on when a new version of cake will be released (not a hard deadline, just want to have an idea when we might start using this |
|
No firm dates yet, there are a couple of things we want to sort out first, after that find some time to do some testing and the release. There's a preview package available from our preview feed you could try out already today <add key="cake" value="https://pkgs.dev.azure.com/cake-build/Cake/_packaging/cake/nuget/v3/index.json" /> |
This fixes an issue we are seeing when running on a build agent that uses random folder names for each build. This PR allows cache re-usage by replacing the working directory inside the script lines before generating the hash.
Also added unit tests for:
For reference: #4471