You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Call delete_all_caches() when one or more cache files are missing or locked.
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
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
What happened?
Bug Report: Partial Cache Deletion Issue
Description
The
delete_all_caches
function currently returnstrue
even if only one cache file is deleted successfully. This can be misleading because the function should only returntrue
if all cache files are deleted.Steps to Reproduce
delete_all_caches()
when one or more cache files are missing or locked.true
even if some files were not deleted.Expected Behavior
true
only if all cache deletions succeed.false
.Record
The text was updated successfully, but these errors were encountered: