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

cache key is unstable with additional cargo installs #140

Closed
stevenh opened this issue May 13, 2023 · 0 comments · Fixed by #142
Closed

cache key is unstable with additional cargo installs #140

stevenh opened this issue May 13, 2023 · 0 comments · Fixed by #142

Comments

@stevenh
Copy link
Contributor

stevenh commented May 13, 2023

If additional cargo installs happen after the cache step the calculation of cache key between restore and save is unstable due to it now including the registered package, as added by #138.

I'll work on a fix for this and put up a PR.

stevenh added a commit to stevenh/rust-cache that referenced this issue May 16, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state.

Also:
* Fixed some typos.
* Use core.error for logging errors.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 16, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 16, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 16, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 16, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 16, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 17, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 17, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.
* Fix inverted condition on cache-all-crates.

Reverts: Swatinem#138
Fixes Swatinem#140
stevenh added a commit to stevenh/rust-cache that referenced this issue May 17, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.
* Fix inverted condition on cache-all-crates.

Reverts: Swatinem#138
Fixes Swatinem#140
Swatinem pushed a commit that referenced this issue May 18, 2023
Ensure consistency of main and post configuration by storing and
restoring it from state, which in turn ensures cache key stability.

Also:
* Fixed some typos.
* Use core.error for logging errors.
* Fix inverted condition on cache-all-crates.

Reverts: #138
Fixes #140
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 a pull request may close this issue.

1 participant