objectfs: clear last 9 pjdfstest failures (timestamps, directory link counts, rename semantics, open-unlinked files) #172
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 255 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.332
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #172"
general
weight: 0.35
justinsb
This PR clears all remaining 9 pjdfstest failures, bringing the POSIX conformance test pass rate to 100% (238/238 passed, 0 failures) alongside clean fsx data integrity runs.
Summary of Changes
1. Special File Hard Links (
link/00.t,unlink/00.t,rename/00.t):- Fixed
Linkdirectory check to use(mode & S_IFMT) == S_IFDIRrather thanmode & S_IFDIR(which incorrectly matched block devices and domain sockets due to overlapping bits in mode masks).2. Directory Link Count and
..Bookkeeping (rename/24.t):- Added
parent_inofield toInodeprotobuf message to persistently store directory parent relationships.- Updated directory
nlinkbookkeeping:-
mkdir: increments parent directorynlink.-
rmdir: decrements parent directorynlink.-
rename: updates source parent (nlink--) and destination parent (nlink++) when moving directories across parents.- Updated
Lookup("..")to resolve the directory'sparent_ino.3. Rename Semantics (
rename/20.t,rename/23.t):- Renaming onto an existing directory now checks whether the target is empty, returning
ENOTEMPTYif not empty.- Renaming onto a target with other hard links decrements the target file's link count rather than removing it.
- Preserves POSIX type mismatch errors (
ENOTDIRandEISDIR).4. Open-Unlinked File Handling (
unlink/14.t):- Added
OpenandReleasecontroller RPCs to track open handles across the filesystem.- When a file is unlinked while open handles remain, its inode is retained with
nlink = 0(orphan state), allowing descriptor reads/writes/stats until the finalRelease.- Fixed FUSE
fillAttrOutto accurately reportnlink = 0instead of overriding to 1.- Added orphaned inode cleanup during controller recovery / startup.
5. POSIX Test Runner & Expected Failures:
- Updated
ap-posixto ignore TAP# TODO/# SKIPannotations when parsing test results.- Cleared
tests/posix/expected-failures.txt.Fixes #168