-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add persistent caching #134
base: master
Are you sure you want to change the base?
Conversation
Two quick notes:
|
Thanks! Very good points, the former I realised as I was trying to implement the per-crate cache, I now use (makes it infinitely easier to delete the cache as well, since we don't have to go looking for the file): export function getCachePath(context: vscode.ExtensionContext): string {
return path.join(context.globalStoragePath, "cache.json")
} Should I additionally put the |
I'd use different cache files for different build channels (e.g. prusti-assistant/src/config.ts Lines 12 to 16 in 8c12156
You can look it up with: prusti-assistant/src/config.ts Line 21 in 8c12156
Also, I'd move the |
To understand if it's a Prusti or Prusti-assistant issue, does the server save the cache if you manually start and terminate it from the command line? If that's too hard to fix, we can add a |
Any idea why the CI fails? |
Mmm, not really. Does it pass locally? |
Not when I run the tests no - it gets stuck on |
Ah, I've found the answer:
Is there any solution to this, other than waiting for caching to be included in a Prusti release? |
I think it's quicker to do I'd wait a few weeks before doing a release, just to test the changes for a while. |
No description provided.