# Make deserialization a bit more resilient to data changes \(\#53362\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4a5826ba626393ec4fbfbc571ed10af51f70e331

Requested commit: 4a5826ba626393ec4fbfbc571ed10af51f70e331

Commit: 4a5826ba626393ec4fbfbc571ed10af51f70e331

Tree: 52991d77148500b1c0d6c9ec383ef5e99c05483d

Author: Mikayla Maki

Committer: GitHub

## Message

```
Make deserialization a bit more resilient to data changes (#53362)

This PR makes sidebar deserialization enforce the invariants that the
multiworkspace is supposed to enforce. Also, this PR makes it so that
failing to deserialize the active workspace no longer totally fails to
deserialize the multiworkspace.

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

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

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