# test\(server\): windowed snapshots must not wait on the SQLite writer · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/9f597f2058525acf166625c134efcee950b7c570)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 9f597f2058525acf166625c134efcee950b7c570

Requested commit: 9f597f2058525acf166625c134efcee950b7c570

Commit: 9f597f2058525acf166625c134efcee950b7c570

Tree: 717601b300e3bd0e05d35cac7876ed3c87d3083c

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(server): windowed snapshots must not wait on the SQLite writer

Failing regression test for #21840. getThreadSnapshotWindow runs in a
writer transaction, so a held writer makes the snapshot fail with
"database is locked" instead of reading the committed thread.

Test taken unchanged from #21869 by ScottN-PV.

Co-Authored-By: ScottN-PV <191782757+ScottN-PV@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [8d3b061121fe65669d5d43d011b48cd3027a4108](https://git.cafe/pingdotgg/t3code/commit/8d3b061121fe65669d5d43d011b48cd3027a4108?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/9f597f2058525acf166625c134efcee950b7c570?format=markdown)
