# agent_ui: Delete metadata for empty released threads \(\#52563\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ab71d1a2974d125377fbd215766c5ad50e860c59

Requested commit: ab71d1a2974d125377fbd215766c5ad50e860c59

Commit: ab71d1a2974d125377fbd215766c5ad50e860c59

Tree: 1105ed80731390242f5d95a78687a9cd55a24d47

Author: Ben Brandt

Committer: GitHub

## Message

```
agent_ui: Delete metadata for empty released threads (#52563)

Keep sidebar metadata only for threads with entries. Important for ACP
agents especially that won't persist the thread.

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

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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