Skip to content

agent: Save threads before closing them#51744

Merged
benbrandt merged 1 commit intomainfrom
save-threads-before-closing-session
Mar 17, 2026
Merged

agent: Save threads before closing them#51744
benbrandt merged 1 commit intomainfrom
save-threads-before-closing-session

Conversation

@benbrandt
Copy link
Copy Markdown
Member

Closes #46078

When we unloaded sessions, we weren't necesarily making sure we had
saved the current state. Now we save it whenever we remove it from the
session map.

Release Notes:

  • Agent: Fix cases where thread state wasn't saved before closing the thread.

Closes #46078

When we unloaded sessions, we weren't necesarily making sure we had
saved the current state. Now we save it whenever we remove it from the
session map.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 17, 2026
@benbrandt benbrandt enabled auto-merge (squash) March 17, 2026 10:19
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 17, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested review from a team, osyvokon and probably-neb and removed request for a team March 17, 2026 10:19
@benbrandt benbrandt merged commit 8a25373 into main Mar 17, 2026
40 checks passed
@benbrandt benbrandt deleted the save-threads-before-closing-session branch March 17, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conversations not saving when switching repos

2 participants