Before mounting, probe each share's remote path with `rclone lsf` (10s timeout, parallel execution). Failed shares are skipped — they never get mounted or exposed to SMB/NFS/WebDAV — preventing the silent hang that occurred when rclone mounted a nonexistent directory. - ShareHealth enum: Pending → Probing → Healthy / Failed(reason) - Supervisor: probe phase between preflight and mount, protocol configs generated after probe with only healthy shares - Web UI: health-aware badges (OK/FAILED/PROBING/PENDING) with error messages on dashboard, status partial, and share detail - JSON API: health + health_message fields on /api/status - CLI: `warpgate status` queries daemon API first for tri-state display (OK/FAILED/DOWN), falls back to direct mount checks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 lines
58 B
Rust
5 lines
58 B
Rust
pub mod config;
|
|
pub mod mount;
|
|
pub mod probe;
|
|
pub mod rc;
|