nix-super/doc/manual/rl-next/11086-eval-cache-fix-cache-regressions.md
Robert Hensing 7275d68d3b rl-next: Add top 10 by +1 reactions on PRs
We should use a metric that weighs the related issues.
Counterbalancing time doesn't make much sense to me.
If it's around for longer, the fix will be relevant to more people.
2024-07-25 05:57:53 +02:00

14 lines
648 B
Markdown

---
synopsis: "Eval cache: fix cache regressions"
prs: 11086
issues: 10570
---
This update addresses two bugs in the evaluation cache system:
1. Regression in #10570: The evaluation cache was not being persisted in `nix develop` because `evalCaches` retained references to the caches and was never freed.
2. Nix could sometimes try to commit the evaluation cache SQLite transaction without there being an active transaction, resulting in non-error errors being printed.
These bug fixes ensure that the evaluation cache is correctly managed and errors are appropriately handled.
Author: [**Lexi Mattick (@kognise)**](https://github.com/kognise)