# agent_ui: Do not save thread metadata for collab projects \(\#54094\) · gitcafe/zed

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

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

Visibility: public

Requested revision: dbb057b192ca4b7e2fd3d1905a74063f4b6e8862

Requested commit: dbb057b192ca4b7e2fd3d1905a74063f4b6e8862

Commit: dbb057b192ca4b7e2fd3d1905a74063f4b6e8862

Tree: 424cb01c8ad2584c3570eb549eda270152b4209c

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent_ui: Do not save thread metadata for collab projects (#54094)

Make sure that we never write thread metadata to the DB for a thread
running on a collab project.

When joining a collab project and starting a native thread we would set
all your threads that had no paths associated with to the path of the
collab project (in `move_thread_paths`).

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
```

## Parents

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

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