Skip to content
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

Use image hash as key when caching coverage #120

Closed
ChrisTimperley opened this issue May 21, 2019 · 1 comment
Closed

Use image hash as key when caching coverage #120

ChrisTimperley opened this issue May 21, 2019 · 1 comment
Assignees

Comments

@ChrisTimperley
Copy link
Collaborator

ChrisTimperley commented May 21, 2019

If an image is changed after coverage information has been computed and cached, then the cached coverage may be incorrect. A simple way to deal with this issue is to use the image's SHA when caching coverage information. Once the image has changed, no cache hit will occur, and BugZoo will generate a new coverage entry. We could also associate the ID of the bug along with the image SHA in the cache, so that when the image SHA changes for the bug, we know to destroy the existing cache entry.

submitted from GitQ

@ChrisTimperley
Copy link
Collaborator Author

Moved issue to appropriate repo: squaresLab/BugZoo#332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant