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

BUG: Partial Cache Deletion Issue #233

Open
2 tasks done
asmit27rai opened this issue Jan 14, 2025 · 1 comment
Open
2 tasks done

BUG: Partial Cache Deletion Issue #233

asmit27rai opened this issue Jan 14, 2025 · 1 comment

Comments

@asmit27rai
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Bug Report: Partial Cache Deletion Issue

Description
The delete_all_caches function currently returns true even if only one cache file is deleted successfully. This can be misleading because the function should only return true if all cache files are deleted.

Steps to Reproduce

  1. Call delete_all_caches() when one or more cache files are missing or locked.
  2. The function may return true even if some files were not deleted.

Expected Behavior

  • The function should return true only if all cache deletions succeed.
  • If any deletion fails, it should return false.

Record

  • I agree to follow this project's Code of Conduct
@asmit27rai
Copy link
Contributor Author

@Pranav0-0Aggarwal If this issue looks good. Pls assign this to me. I have a solution for it..

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

Successfully merging a pull request may close this issue.

1 participant