Files
zed/crates
Bennet Bo Fenner eeb034c31c agent: Fix race condition when loading threads (#51366)
This fixes a race condition that could occur when using the sidebar:
`Failed to launch: project state not found`

We were accessing/creating the project state before an await point,
meaning that we could remove the state if session/close was called in
the meantime.

- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A
2026-03-12 09:38:54 +00:00
..
2026-03-11 12:52:03 +00:00
2026-02-12 01:06:23 +00:00
2026-03-11 03:08:39 +00:00
2026-02-26 18:36:50 +01:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-03-11 14:41:31 +00:00