Skip to content

BUG: Partial Cache Deletion Issue #233

Open
@asmit27rai

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions