Skip to content

Update find cache and rm tests#797

Merged
ankitaluthra1 merged 7 commits intofsspec:mainfrom
ankitaluthra1:update-find-cache-and-rm-tests
Mar 31, 2026
Merged

Update find cache and rm tests#797
ankitaluthra1 merged 7 commits intofsspec:mainfrom
ankitaluthra1:update-find-cache-and-rm-tests

Conversation

@Mahalaxmibejugam
Copy link
Copy Markdown
Contributor

  • Address cache inconsistency issues within the find method when utilizing maxdepth on Hierarchical Namespace (HNS) buckets
  • Added a test that highlights an edge case where non-recursive wildcard removals targeting non-empty subdirectories trigger a precondition failure on HNS buckets (whereas Standard buckets handle it silently).
  • Updated the documentation for HNS buckets to mention the edge case of rm with non-recursive.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.32%. Comparing base (1ec7a98) to head (3884419).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #797      +/-   ##
==========================================
+ Coverage   75.96%   76.32%   +0.35%     
==========================================
  Files          14       14              
  Lines        2663     2665       +2     
==========================================
+ Hits         2023     2034      +11     
+ Misses        640      631       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ankitaluthra1
Copy link
Copy Markdown
Collaborator

/gcbrun

@ankitaluthra1
Copy link
Copy Markdown
Collaborator

Please fix codecov/project failure or add a comment in case WAI

@Mahalaxmibejugam
Copy link
Copy Markdown
Contributor Author

Mahalaxmibejugam commented Mar 31, 2026

Please fix codecov/project failure or add a comment in case WAI

PR was behind main by 2 commits, so coverage added in those 2 commits was not getting reflected in codecov/project run and hence it was showing as failure. I pulled the latest main in this PR now, so it should reflect the right coverage.

@ankitaluthra1
Copy link
Copy Markdown
Collaborator

/gcbrun

@ankitaluthra1 ankitaluthra1 merged commit a46df25 into fsspec:main Mar 31, 2026
9 checks passed
@Mahalaxmibejugam Mahalaxmibejugam deleted the update-find-cache-and-rm-tests branch April 1, 2026 06:21
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 this pull request may close these issues.

2 participants