fix: require rooted ontology organize destinations - #260
Conversation
|
Warning Review limit reachedNext included review available in 20 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughorganize 대상 경로가 절대 경로 또는 정확한 홈 토큰인지 검증하도록 변경했습니다. 잘못된 경로는 이동 계획에서 제외합니다. Windows 회귀 테스트, CI 단계, ADR 및 변경 기록을 추가했습니다. Changes루트 기반 organize 대상 경로
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: 🟡 Moderate · up to Absolute ontology destinations containing 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 75.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 16 functions across 2 files. (4 skipped: 4 unsupported.) ✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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. Comment |
|
Current-head follow-up (after remote-safe fixture correction):
|
|
Current-head review follow-up:
|
|
Current-head follow-up:
|
|
Current-head review follow-up:
|
|
Current-head review follow-up:
|
|
Hosted-check update for exact head |
|
Protected auto-merge is enabled for exact head |
Pull request was converted to draft
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Pull request was converted to draft
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
~/expansionValidation
CARGO_BUILD_JOBS=2 cargo test --manifest-path src-tauri/Cargo.toml --lib organize::tests→ 21 passedCARGO_BUILD_JOBS=2 cargo test --manifest-path src-tauri/Cargo.toml --test organize_target_paths_windows→ 0 tests on macOS (Windows-only cases compile at the public boundary)rustfmt --edition 2021 --check src-tauri/tests/organize_target_paths_windows.rsgit diff --checkThis is the current-main successor for stale draft PR #225, whose hosted test failure was an unrelated concurrent projection test on the old base. No force push or protected-branch bypass is used.
Summary by CodeRabbit
버그 수정
~/~/홈 경로만 허용하며, 상대 경로·사용자명 기반 틸드·상위 경로 탐색은 거부합니다.문서