Repository navigation
fix: show Finder actions on external drives - #290
athousanddetails wants to merge 1 commit into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (2)
📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughFinderSync now observes mounted volumes in addition to user directories. It refreshes its observed roots at startup and after volume mount, unmount, or rename notifications. The change also adds root-selection tests, verification notes, and a localized changelog entry. ChangesExternal-volume Finder actions
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Medium Sequence Diagram(s)sequenceDiagram
participant NSWorkspace
participant FinderSync
participant FinderObservedDirectories
participant Finder
NSWorkspace->>FinderSync: Report volume mount, unmount, or rename
FinderSync->>FinderObservedDirectories: Build roots from home, username, and mounted volumes
FinderObservedDirectories-->>FinderSync: Return observed directory URLs
FinderSync->>Finder: Assign observed directory URLs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The external-drive Finder action change is ready to merge after normal checks. Physical hot-plug and rename behavior has not been manually exercised. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Actions become available on more mounted volumes, but directory registration does not grant file access. Requests still pass through existing validation and folder-access checks. No introduced permission bypass was established; live volume-change behavior and some failure states remain incompletely verified. Retained concerns Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 9 functions across 3 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches🧪 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 |
Finder only requested MacPacker menus inside the home folder, so archive actions were missing on external drives even when file access had been granted. Register the visible mounted volume roots at startup and refresh them on mount, unmount, and rename. Existing home roots remain registered; the startup filesystem root is excluded. This does not grant additional file access.
Closes #275.
Verification:
Detailed evidence:
docs/verification/issue-275/README.md. Screenshots are genuine crops excluding the cursor. The temporary review extension and disposable test files were removed; the installed app was not replaced.AI disclosure: implementation, tests, and documentation were authored with Codex under this human-owned account. Verification included automated tests/builds and direct Finder interaction described above.
Summary by CodeRabbit