Reimplement the WebDAV file connector on Sardine #546
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.49) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.49 · 332 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.347
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #546"
general
weight: 0.35
tonygermano
What
Rewrites the File connector's
WebDavConnectionon Sardine 5.10, an Apache 2.0 WebDAV client built on httpclient 4.5. It also removes the vendoredwebdavclient4j-core-0.92.jar, a 2008 Jakarta Slide build on commons-httpclient 3.Why
webdavclient4j has been dead since 2008 and was the last real user of commons-httpclient 3.0.1. WebDAV has also been broken since 4.5.0: Slide needs jdom 1, which was replaced by jdom2.
Sardine 5.10 is the last release on
javax.xml.bind, which the engine already ships. 5.11 and later need Jakarta JAXB 4, and theirorg.glassfish.jaxb:jaxb-runtimewould clash with ours (2.4). Sardine is added withtransitive = false, so the only new jar issardine-5.10.jar, inextensions/file/lib.Reviewer notes
WebDavConnectionuses plain Sardine. Sardine handles the requests, multistatus parsing, PROPFIND redirects and authentication.WebDavConnectiononly maps its results ontoFileSystemConnection.FileDispatcheras aByteArrayInputStream. They are wrapped in a small entity that resets the stream, so a PUT can be resent after a challenge without copying the payload. Other streams useExpect: 100-continue.canWriteonly checks that the directory exists. It no longer checks for write locks: checking first is racy, and a failed write is logged when it happens.WebDavConnectionTestmocks theSardineinterface, like the SMB and FTP tests. List, read, write with MKCOL, move and delete were also checked by hand against Apache mod_dav.- The configured port was ignored, so WebDAV always used port 80 or 443.
- No connect or read timeouts were set. They now use the connector's timeout setting.
- Listing returned wrong child paths, zero sizes and dates, and no directories.
- Failed PUT, DELETE and MOVE are still only logged, as before. See the comment on this PR.
- commons-httpclient 3 can be removed once this, the HttpStatus change and the HTTPUtil change are merged.
🤖 Generated with Claude Code