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

fix restoring incorrect cache #107

Closed
wants to merge 1 commit into from
Closed

fix restoring incorrect cache #107

wants to merge 1 commit into from

Conversation

ReenigneArcher
Copy link

Pull Request Details

This PR fixes an issue where Qodana would restore incorrect cache keys.

Description

Removed keys that do not contain additional-cache-hash.

An alternative chance would be to make the additional-cache-hash as the key prefix, instead of suffix.

Related Issue

This project only accepts pull requests related to open issues

Unable to open issues in this repo.

Motivation and Context

With the broad restore cache keys, the action would restore incorrect cache keys. This is a problem when more than one project is analyzed in the same repo, or if there are multiple qodana configs being analyzed.

How Has This Been Tested

Not tested, but change is simple and obvious.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

With the broad restore cache keys, the action would restore incorrect cache keys. This is a problem when more than one project is analyzed in the same repo, or if there are multiple qodana configs being analyzed.
@tiulpin
Copy link
Member

tiulpin commented Apr 24, 2023

Implemented recently, thanks for the suggestion, see https://github.com/JetBrains/qodana-action#configuration

The related issue on our tracker: https://youtrack.jetbrains.com/issue/QD-5707/

@tiulpin tiulpin closed this Apr 24, 2023
@ReenigneArcher ReenigneArcher deleted the fix-restoring-incorrect-cache branch April 24, 2023 13:23
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.

None yet

2 participants