1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 14:32:45 -04:00
nix/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

648 B

synopsis prs issues
Eval cache: fix cache regressions 11086 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)