question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Identical cache key hits on ubuntu/mac, but misses on Windows

See original GitHub issue

In this run I have created a cached asset in the package step with the key package-5fc9dd41a6ade85100c424bab5b08d65d79922d1:

Run actions/cache@v2
  with:
    path: build
    key: package-5fc9dd41a6ade85100c424bab5b08d65d79922d1
Cache not found for input keys: package-5fc9dd41a6ade85100c424bab5b08d65d79922d1

Post job cleanup.
/bin/tar --use-compress-program zstd -T0 -cf cache.tzst -P -C /home/runner/work/conda-pack/conda-pack --files-from manifest.txt
Cache saved successfully

All of the MacOS and Linux variants in my tests job successfuly find the cache; e.g. this one:

Run actions/cache@v2
  with:
    path: build
    key: package-5fc9dd41a6ade85100c424bab5b08d65d79922d1
Cache Size: ~0 MB (41307 B)
/bin/tar --use-compress-program zstd -d -xf /home/runner/work/_temp/51c1d57a-7530-487c-95ad-4a7fcb4d58cb/cache.tzst -P -C /home/runner/work/conda-pack/conda-pack
Cache restored from key: package-5fc9dd41a6ade85100c424bab5b08d65d79922d1

None of the Windows variants do; e.g., this one:

Run actions/cache@v2
  with:
    path: build
    key: package-5fc9dd41a6ade85100c424bab5b08d65d79922d1
Cache not found for input keys: package-5fc9dd41a6ade85100c424bab5b08d65d79922d1

Remember, these are all parallel runs of exactly the same build step. Will try to post some debugging information when I can figure out how to do it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
milosmnscommented, Sep 7, 2022

Awesome, good to know. Cheers.

1reaction
github-actions[bot]commented, Mar 10, 2022

This issue is stale because it has been open for 365 days with no activity. Leave a comment to avoid closing this issue in 5 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Caching dependencies to speed up workflows - GitHub Docs
Cache hits and misses. When key exactly matches an existing cache, it's called a cache hit, and the action restores the cached files...
Read more >
Pipeline caching - Azure - Microsoft Learn
On the first run after the task is added, the cache step will report a "cache miss" since the cache identified by this...
Read more >
Caching Dependencies - CircleCI
This document is a guide to caching dependencies in CircleCI pipelines. ... Each cache key is namespaced to the project and retrieval is...
Read more >
How do I switch the Command key and Control ... - Ask Ubuntu
I am using Gnome desktop and would like to replace my apple keyboard (Command key) with Ctrl Key. – ahmed. Sep 30, 2019...
Read more >
Bug #124406 “Keyboard keys get stuck and repeat”
Keyboard keys such as the arrows, Alt-F4, PageUp/PageDown, etc. often get 'stuck' and continue being 'clicked' even after they are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found