# Move diff parsing to worker pool with stable patch cache keys · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 5cfab38f315945b81e2225b7edca01fdff622bb8

Requested commit: 5cfab38f315945b81e2225b7edca01fdff622bb8

Commit: 5cfab38f315945b81e2225b7edca01fdff622bb8

Tree: 8a7c4f109a67ab6327622098fb57d383358eebf2

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Move diff parsing to worker pool with stable patch cache keys

- Wrap `DiffPanel` in `WorkerPoolContextProvider` and add a dedicated diffs worker
- Use content-based patch cache keys to stabilize `parsePatchFiles` caching
- Add tests for cache key stability, whitespace normalization, and content changes

```

## Parents

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

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