fix(table): preserve files after replayed snapshot publication #1417
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 · 243 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.329
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1417"
general
weight: 0.35
JeonDaehong
<!--
Thank you very much for contributing to Paimon Rust - we are happy that you want to help us improve it. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.
Contribution Checklist
- Make sure that the pull request corresponds to a GitHub issue. Exceptions are made for typos in documentation or comments, which need no issue.
- Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
- Make sure that the change passes the automated tests, i.e.,
cargo testpasses.- Each pull request should address only one issue, not mix up code from multiple issues.
(The sections below can be removed for hotfixes or typos)
-->
Purpose
<!-- Linking this pull request to the issue -->
A conditional snapshot write can succeed before its response is lost, then report a conflict on retry. Treating this as a failed commit can delete DV or index files already referenced by the published snapshot.
<!-- What is the purpose of the change -->
Brief change log
<!-- Please describe the changes made in this pull request and explain how they address the issue -->
Verify snapshot ownership directly from storage before cleanup. Preserve files when ownership is uncertain, with regression coverage for replay, legacy snapshots, and stale caches after rollback.
Tests
<!-- List unit tests or integration cases to verify this change -->
API and Format
<!-- Does this change affect API or storage format -->
Documentation
<!-- Does this change introduce a new feature or require documentation updates -->