Repository navigation
fix(upload): use reliable staging preallocation - #626
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough本次变更将上传暂存和本地容量操作迁移到固定 revision 的 Changes上传暂存预留契约
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to The filesystem migration preserves the inspected reservation, locking, and capacity-reporting behaviors, with no actionable merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation
Full details: Docstring CoverageExplanation Docstring coverage is 70.59% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 17 functions across 4 files. (5 skipped: 5 unsupported.)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. APFS 的洞不再冒充答案 Comment |
PR readiness for
|
| Fact | Value |
|---|---|
| Blocking conditions | 1 |
| Waiting conditions | 0 |
| Current unresolved threads | 0 |
| Current-head approvals | 0 |
| Stale latest reviews | 0 |
- BLOCK: Current head requires a human approval
This report is deterministic and updated for the current pull request head.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Pull request
Summary
fs2production dependency with revision-pinnedaster-fsThe underlying defect was fixed and reviewed in AsterCommunity/AsterFs#2. On Apple filesystems, new reservations now use
F_ALLOCATEALL, validatefstore_t.fst_bytesallocbefore extending logical EOF, and recover actual sparse holes without changing existing data or cursor position.Closes #623.
Test plan
cargo check --locked --testscargo nextest run --locked --profile ci --lib services::files::upload::ingest::staging::testscargo nextest run --locked --profile ci --test files stagingcargo nextest run --locked --profile ci --test files stagedcargo nextest run --locked --profile ci --test files macos_chunked_init_reserves_large_apfs_staging_filecargo clippy --locked --tests -- -D warningsbun run checkbun run buildcargo fmt --all -- --check,git diff --check,git diff --cached --check, andgit diff HEAD --checkCross-platform allocation evidence for
aster-fsincludes its Rust 1.75 sync-feature MSRV check, feature build/test/clippy matrix, Apple limited-volume APFS tests, native Linux Docker/tmpfs ENOSPC probes, native Windows NTFS/VHDX ENOSPC probes, and affected Linux/macOS/Windows cross-target checks.Notes for reviewers
913ed30598119c184f49f18e5b339fc98869fff2Summary by CodeRabbit
Bug 修复
文档