toolchains: Fix persistence by not relying on unstable worktree id (#45357)

Closes #42268
We've migrated user selections when a given workspace has a single
worktree (as then we could determine what the target worktree is).

Release Notes:

- python: Fixed selected virtual environments not being
persisted/deserialized correctly within long-running Zed sessions (where
multiple different projects might've been opened). This is a breaking
change for users of multi-worktree projects - your selected toolchain
for those projects will be reset.

Co-authored-by: Dino <dino@zed.dev>
69f6eeaa3aPiotr Osiewicz committed on 12/19/2025, 1:06:15 PM· committed by GitHubparent1dc5de4
8 files changedLine totals unavailable