Skip to content

fix(mutagen): create the remote parent directory before creating the session - #178

Merged
gapul merged 1 commit into
mainfrom
fix/mutagen-remote-parent
Aug 9, 2026
Merged

fix(mutagen): create the remote parent directory before creating the session#178
gapul merged 1 commit into
mainfrom
fix/mutagen-remote-parent

Conversation

@gapul

@gapul gapul commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Follow-up to #177. With the SSH alias in place the session was created for the first time, connected on both ends, and reported Status: Watching for changes — while being unable to write anything:

Transition problems:
  <root>: unable to walk to transition root parent: unable to open
          synchronization root parent directory: no such file or directory

~/Sync did not exist on the far side. mutagen creates the synchronization root itself but not the directories above it, and the failure surfaces only in sync list --long, not in the status line.

One mkdir -p over SSH before sync create, non-fatal so an unreachable host still falls through to the existing SKIP path.

Verified after creating the directory by hand: a file written on the Mac appeared on the far side, and a file written there appeared locally, both within seconds.

…session

mutagen creates the synchronization root but not the directories above it. With no
~/Sync on the far side the session came up connected and healthy-looking, and only a
transition problem on the beta endpoint revealed that nothing could ever be written.
@gapul
gapul enabled auto-merge (squash) August 9, 2026 09:24
@gapul
gapul merged commit 4928be9 into main Aug 9, 2026
3 checks passed
@gapul
gapul deleted the fix/mutagen-remote-parent branch August 9, 2026 09:30
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