Skip to content
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

[caching] Rewrite d1d5852 fixing #757 #836

Merged
merged 2 commits into from
Mar 16, 2024
Merged

Conversation

hazendaz
Copy link
Member

@hazendaz hazendaz commented Mar 10, 2024

fixes #757

Original change in d1d5852 only addressed java and did so at detriment of all formatters. This caused certain platforms to continually update the cache file on every build. As seen on GitHub, Linux and Macos would change the *nix hashes for every file constantly including java. For Windows on Github, it was changing the entire file (not clear as to why entire file but that was observed over and over). Testing to show issue was done with 2.23.0 formatter release that introduced the problem.

Original change in d1d5852 only addressed java and did so at detriment of all formatters.  This caused certain platforms to continually update the cache file on every build.  As seen on GitHub, Linux and Macos would change the *nix hashes for every file constantly including java.  For Windows on Github, it was changing the entire file (not clear as to why entire file but that was observed over and over).  Testing to show issue was done with 2.23.0 formatter release that introduced the problem.
@hazendaz hazendaz requested a review from ctubbsii March 10, 2024 18:19
@hazendaz hazendaz self-assigned this Mar 10, 2024
@hazendaz hazendaz added this to the 2.24.0 milestone Mar 16, 2024
@hazendaz hazendaz merged commit 2fdf89a into revelc:main Mar 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Configuration hashing into file hash breaks existing caching - only confirmed with XML at the moment
1 participant