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.

Caching doesn't work

See original GitHub issue

After switching to Manifest mode, caching stopped working. I am getting the following message in post log:

Can't add archive to itself::debug::File Size: 865632525

But I use exactly the same set of packages I used before (it worked with v7). I use dependencies installation from CMake (e.g. runVcpkgInstall is set to false). To reduce the size I added -D VCPKG_INSTALL_OPTIONS=--clean-after-build, but the size is still big for the cache if I understand correctly.

Here is the run. Here is my configuration. (I decided to use vcpkgGitCommitId)

Also not sure if it related, but I noticed that vcpkg_installed is located at build/vcpkg_installed. Is this expected? I thought that this folder should be in the root project folder.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lukkacommented, Oct 21, 2021

@Shatur good to know! Looks like the “Can’t add archive” is an info/warning message and it does not fail the workflow, so it is easily missed indeed.

0reactions
Shaturcommented, Oct 21, 2021

It worked, now I have hit cache, thanks! I can’t see the message “Can’t add archive …” because of a cache hit. Maybe it was even with v7 and I just didn’t notice, because the cache was working?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Cache @Cacheable - not working while calling from ...
I believe this is how it works. From what I remember reading, there is a proxy class generated that intercepts all requests and...
Read more >
3 Common Mistakes when Implementing Spring Cache ...
Disabling caching configuration here for the test profile will not work as @EnableCaching is in Application class and even if configuration ...
Read more >
How Do I Fix My Caching Problems Or Clear Web Browser's ...
How to clear the cache in commonly used browsers · Open your browser and and got to Tools > Safety menu. · Click...
Read more >
A Guide To Caching in Spring - Baeldung
Sometimes, caching might not work well for a method in all situations. Reusing our example from the @CachePut annotation, this will both execute ......
Read more >
28. Cache Abstraction - Spring
Each time the method is called, the cache is checked to see whether the invocation has been already executed and does not have...
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