Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Checker Cache invalidated falsely on load in second run due to external resources #3489
I tried populating the cache file with a modified CS run with all files because of #3488, to verify another issue. During debugging, I noticed all files were being reported as not in the cache even though I could verify them in my cache file.
We always put in the config hash during a load. My run was saying the config hash key didn't exist on load.
After searching it turns out this is happening because external resources have changed and we clear out the entire cache and don't put the config hash back in to make it a valid cache file:
When we clear the cache file, we have to put the config hash back in, otherwise it won't be a valid cache file.