Skip to content

Fix prepare optimizations task not being cacheable #898

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

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

melix
Copy link
Collaborator

@melix melix commented Dec 4, 2023

The task which prepares optimizations makes use of a properties file as an input (the configuration of the optimizer). Unfortunately, this properties file, generated by the config writer task, contains a timestamp, which breaks cacheability.

This commit fixes the problem by making sure that comments from the writer task are removed.

Fixes #888

The task which prepares optimizations makes use of a properties file
as an input (the configuration of the optimizer). Unfortunately, this
properties file, generated by the config writer task, contains a
timestamp, which breaks cacheability.

This commit fixes the problem by making sure that comments from
the writer task are removed.

Fixes #888
@melix melix added the type: bug Something isn't working label Dec 4, 2023
@melix melix added this to the 4.2.1 milestone Dec 4, 2023
@melix melix requested a review from timyates December 4, 2023 10:02
@melix melix self-assigned this Dec 4, 2023
Copy link

sonarqubecloud bot commented Dec 4, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@melix melix merged commit fd6f6eb into master Dec 4, 2023
@melix melix deleted the cc/issue-888 branch December 4, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

prepareJitOptimimizations always seems to miss the cache
2 participants