feat(fuse): cross-platform force unmount & mount health validation - #286
Merged
Conversation
…, and force-stop API - Replace Linux-only ForceUnmount with cross-platform implementation supporting macOS (umount -f, diskutil unmount force) and Linux (fusermount -uz, umount -l, fusermount3 -uz) - Add ValidateMount() method that stat-checks mount point with 5s timeout to detect stuck FUSE - Add POST /api/fuse/force-stop endpoint that bypasses graceful unmount and resets manager state - Fix handleStopFuseMount to reset state to "error" on failure instead of leaving user stuck - Enhance status endpoint to include mount health check with auto-correction to "error" status - Migrate all fuse handler responses to unified response builders - Add force unmount UI button in MountConfigSection with confirmation dialog - Display health_error in mount status alert when mount is unresponsive - Disable RC server start for non-rclone mount types - Disable RCEnabled when mount_type is "none" or "fuse" in config validation - Bump Go version to 1.26.0 across CI, Docker, and docs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ValidateMount()that stat-checks the mount with a 5s timeout to detect stuck FUSE connections; status endpoint auto-corrects to "error" when unresponsivePOST /api/fuse/force-stopbypasses graceful unmount and always resets manager state so users aren't stuckTest plan
go build ./...passescd frontend && bun run checkpasses (only pre-existing MetadataConfigSection lint issues)healthy: trueumount -f/diskutil unmount forcecommands are used🤖 Generated with Claude Code