Skip to content

fix: remove sshfs reference and timeout dependency for macOS#3

Open
FrancisBehnen wants to merge 2 commits into
langwatch:mainfrom
FrancisBehnen:main
Open

fix: remove sshfs reference and timeout dependency for macOS#3
FrancisBehnen wants to merge 2 commits into
langwatch:mainfrom
FrancisBehnen:main

Conversation

@FrancisBehnen
Copy link
Copy Markdown

@FrancisBehnen FrancisBehnen commented Mar 23, 2026

Summary

Two fixes for macOS compatibility:

  • setup.sh: Replace outdated SSHFS dependency check with Mutagen (which the project actually uses), and add MacPorts as an install option
  • remote-shell.sh: Remove timeout command dependency — macOS doesn't ship GNU coreutils, so is_remote_available() always failed silently, causing all commands to fall back to local execution instead of the remote server

Changes

  • setup.sh: Check for mutagen instead of sshfs, suggest both Homebrew and MacPorts
  • scripts/remote-shell.sh: Replace timeout N ssh ... with SSH's built-in -o ConnectTimeout=N

Test plan

  • setup.sh correctly detects mutagen
  • remote-shell.sh connects to remote without timeout binary
  • is_remote_available() returns true when remote is reachable
  • Commands execute on remote (Linux) not locally (Darwin)

FrancisBehnen and others added 2 commits March 23, 2026 01:01
The project uses Mutagen for file sync, not SSHFS. The dependency
check was outdated and also only suggested Homebrew for installation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
macOS does not ship with the `timeout` command (it's part of GNU
coreutils). On machines without it, `is_remote_available()` always
fails because `timeout` exits with "command not found", causing every
command to fall back to local execution silently.

Replace `timeout N ssh ...` with SSH's built-in `-o ConnectTimeout=N`,
which provides the same protection without requiring coreutils.
@FrancisBehnen FrancisBehnen changed the title fix: check for mutagen instead of sshfs in setup fix: remove sshfs reference and timeout dependency for macOS Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant