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.

Cache being always missing

See original GitHub issue

I’ve been struggling to find why the cache is always being missed.

Run lukka/run-vcpkg@v7
tool: C:\Program Files\Git\bin\git.exe
Fetching the Git commit id at 'D:\a\compress-tools-rs\compress-tools-rs\vcpkg' ...
0f0bd549dc2ac273bdb3dbd69b256815c09bcd0a
vcpkg identified at commitId='0f0bd549dc2ac273bdb3dbd69b256815c09bcd0a', adding it to the cache's key.
Cache's key = 'localGitId=707254936-args=1855044079-os=1553167250-imageVer=-2108626026-appendedKey=42-triplet=1258145250'.
Restore vcpkg and its artifacts from cache
⏱ elapsed: 20.593 seconds
Set output env vars
⏱ elapsed: 0.538 seconds
tool: C:\Program Files\Git\bin\git.exe
Fetching the Git commit id at 'D:\a\compress-tools-rs\compress-tools-rs\vcpkg' ...
ec6fe06e8da05a8157dc8581fa96b36b571c1bd5
Check whether vcpkg repository is up to date
  Checking whether vcpkg's repository is updated to commit id 'ec6fe06e8da05a8157dc8581fa96b36b571c1bd5' ...
  tool: C:\Program Files\Git\bin\git.exe
  error: pathspec 'D:\a\compress-tools-rs\compress-tools-rs\vcpkg' did not match any file(s) known to git
  Current commit id of vcpkg: 'ec6fe06e8da05a8157dc8581fa96b36b571c1bd5'.
  Is vcpkg repository updated? No
⏱ elapsed: 0.597 seconds

The workflow can be seen here: https://github.com/OSSystems/compress-tools-rs/blob/master/.github/workflows/windows.yml#L28-L33

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
otaviocommented, Feb 28, 2021

I am not a big fan of sub-modules as I think this is an external dependency and could be fetched during the build process.

Another nice feature of using it dynamically is if you ever need to test different versions of libraries, and in this case, this can be done using a matrix project.

0reactions
lukkacommented, Apr 11, 2021

Check for vcpkgCommitId being a SHA1 hash added in run-vcpkg@v7.2, and improved docs as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cache Miss – What It Is and How to Reduce It - Hostinger
A cache miss occurs when the requested information cannot be found in the cache. The different types of cache misses include compulsory, conflict,...
Read more >
Cache Miss vs Cache Hit: What's the Difference? - WP Rocket
As previously explained, a cache miss occurs when data is requested from the cache, and it's not found. Then, the data is copied...
Read more >
Cache always missed · Discussion #1214 · vercel/turbo - GitHub
Likely am missing something. Set up workspaces with pnpm and turborepo. Here are a few problems that I am facing: pnpm build always...
Read more >
Cache always “miss” and high TTFB - WordPress.org
In general I do get a decent final page load result in GTMetrix at 2.6s and I'm pretty sure cache is working but...
Read more >
Always getting X-Drupal-Cache: MISS? Check for messages
Always getting X-Drupal-Cache: MISS? Check for messages · A form with a unique per-user token may be present. · An authenticated user is...
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