# Save server operations that were in the middle of being applied · gitcafe/zed

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

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

Visibility: public

Requested revision: 4a61e2dfa45f982585019b3859a41be727ec9aa2

Requested commit: 4a61e2dfa45f982585019b3859a41be727ec9aa2

Commit: 4a61e2dfa45f982585019b3859a41be727ec9aa2

Tree: 50c8ecfbac87324ca604d6b6330b2da749a0ccd2

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Save server operations that were in the middle of being applied

Previously, if the test panicked before it had a chance to fully
apply an operation, it would end up not being saved in the plan.
With this commit we will mark the operation as applied before we
start processing it, and mark it as not applied if, once we're done,
we've found out that it couldn't be applied. This is consistent with
what we do for client operations.

```

## Parents

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

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