Repository navigation
test: cover file operations on subdir mounts - #7759
Merged
Merged
Conversation
jiefenghuang
marked this pull request as ready for review
October 26, 2026 07:43
zxh326
approved these changes
Oct 26, 2026
jiefenghuang
force-pushed
the
codex/test-subdir-batch-unlink
branch
from
October 26, 2026 07:57
522fb63 to
48f003c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7759 +/- ##
==========================================
+ Coverage 22.05% 29.22% +7.17%
==========================================
Files 31 179 +148
Lines 25464 60369 +34905
==========================================
+ Hits 5616 17645 +12029
- Misses 19248 40392 +21144
- Partials 600 2332 +1732 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
File-operation tests mostly exercise the volume root, leaving subdir root translation insufficiently covered.
Fix
Add a shared
testSubdirOperationscovering 15 operation groups at the volume root, subdir root, and a deeper directory: creation, lookup/readdir, attributes/access, xattrs/ACLs, open/read/write, truncate/fallocate, links, rename/exchange, deletion, copy/clone, locks, and usage/quota checks.Tests only, rebased onto main including #7760 and #7762. All 135 scenarios pass across MemKV, SQLite, and Redis. The complete SQLite/MemKV Client suites also pass.