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

Cross-OS Version Cache Pollution #589

Closed
5 tasks done
Kurt-von-Laven opened this issue Jan 18, 2023 · 2 comments
Closed
5 tasks done

Cross-OS Version Cache Pollution #589

Kurt-von-Laven opened this issue Jan 18, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Kurt-von-Laven
Copy link
Contributor

Kurt-von-Laven commented Jan 18, 2023

Description:
A cache saved on one version of a given OS can be restored on a different version of that OS. Package managers and individual packages typically assume the OS version wasn't swapped out from under them, so this can produce a wide variety of issues. See actions/cache#543 for evidence that this is a real problem with GitHub Actions in general and the officially recommended solution.

Action version:
v4.5.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
All

Repro steps:

  1. Save a cache on ubuntu-20.04, for example.
  2. Attempt to restore the cache on ubuntu-22.04.

Expected behavior:
The cache misses and is saved again.

Actual behavior:
The cache hits and is restored.

@Kurt-von-Laven Kurt-von-Laven added bug Something isn't working needs triage labels Jan 18, 2023
@e-korolevskii
Copy link
Contributor

Hello @Kurt-von-Laven! Thank you for reporting this!
We will investigate the issue and get back to you as soon as we have updates.

@e-korolevskii
Copy link
Contributor

Hello @Kurt-von-Laven!
After investigation, we were unable to reproduce the issue.
I will now close this issue as a duplicate.
You can add comments here or open a new issue if this doesn't solve your problem.

Have a nice day!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants