# WIP: Manually rollback transactions to avoid spurious savepoint failure · gitcafe/zed

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

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

Visibility: public

Requested revision: d96f524fb6bb8873d8baaf96fcca7f690372fc53

Requested commit: d96f524fb6bb8873d8baaf96fcca7f690372fc53

Commit: d96f524fb6bb8873d8baaf96fcca7f690372fc53

Tree: c55ab5b5d06c94aca333daefebbdee67517d93e2

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
WIP: Manually rollback transactions to avoid spurious savepoint failure

TODO:
- Avoid unwrapping transaction after f(tx)
- Remove duplication between `transaction` and `room_transaction`
- Introduce random delay before and after committing a transaction
- Run lots of randomized tests
- Investigate diverging diagnostic summaries

Co-Authored-By: Max Brunsfeld <max@zed.dev>

```

## Parents

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

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