# workspace: Fix multiple remote projects not restoring on reconnect or restart and not visible in recent projects \(\#35398\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/89ed0b9601ca96e3c047e9d939fbbe160935db8e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 89ed0b9601ca96e3c047e9d939fbbe160935db8e

Requested commit: 89ed0b9601ca96e3c047e9d939fbbe160935db8e

Commit: 89ed0b9601ca96e3c047e9d939fbbe160935db8e

Tree: 07caf4e42e7f72eec58c42402aecaddfc1ea7042

Author: Smit Barmase

Committer: GitHub

## Message

```
workspace: Fix multiple remote projects not restoring on reconnect or restart and not visible in recent projects (#35398)

Closes #33787

We were not updating SSH paths after initial project was created. Now we
update paths when worktrees are added/removed and serialize these
updated paths. This is separate from workspace because unlike local
paths, SSH paths are not part of the workspace table, but the SSH table
instead. We don't need to update SSH paths every time we serialize the
workspace.

<img width="400"
src="https://github.com/user-attachments/assets/9e1a9893-e08e-4ecf-8dab-1e9befced58b"
/>

Release Notes:

- Fixed issue where multiple remote folders in a project were lost on
reconnect, not restored on restart, and not visible in recent projects.
```

## Parents

- [4b9334b910ef531c58b77f46d1903f55bbb08e06](https://git.cafe/gitcafe/zed/commit/4b9334b910ef531c58b77f46d1903f55bbb08e06?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/89ed0b9601ca96e3c047e9d939fbbe160935db8e?format=markdown)
