Skip to content

test: cover file operations on subdir mounts - #7759

Merged
jiefenghuang merged 3 commits into
mainfrom
codex/test-subdir-batch-unlink
Oct 26, 2026
Merged

jiefenghuang merged 3 commits into
mainfrom
codex/test-subdir-batch-unlink

Conversation

@jiefenghuang

@jiefenghuang jiefenghuang commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Problem

File-operation tests mostly exercise the volume root, leaving subdir root translation insufficiently covered.

Fix

Add a shared testSubdirOperations covering 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.

@jiefenghuang jiefenghuang changed the title test: cover batch unlink at subdir mount roots test: cover file operations on subdir mounts Oct 26, 2026
@jiefenghuang
jiefenghuang requested a review from zxh326 October 26, 2026 07:43
@jiefenghuang
jiefenghuang marked this pull request as ready for review October 26, 2026 07:43
@jiefenghuang
jiefenghuang force-pushed the codex/test-subdir-batch-unlink branch from 522fb63 to 48f003c Compare October 26, 2026 07:57
@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.22%. Comparing base (735029c) to head (48f003c).
⚠️ Report is 2 commits behind head on main.

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.
📢 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.

@jiefenghuang
jiefenghuang merged commit 96e5765 into main Oct 26, 2026
33 checks passed
@jiefenghuang
jiefenghuang deleted the codex/test-subdir-batch-unlink branch October 26, 2026 08:15
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