Versions 243 to 318
Lines 103–122 at 318 (were 103–108 at 243)
105105
106+test("trim reweighs growth with no further hit and evicts until the views fit (abso Capacity)", () => {
112+ // A call lays files out in the older view after the cache last weighed it, and nothing asks for it again.
119+
Lines 144–187 at 318 (were 130–132 at 243)
147+
148+test("trim lets go of the least recently used file layouts across views before whole views (abso Capacity)", () => {
150+ const lines = (name: string) => Array.from({ length: 40 }, (_, i) => `${name} line ${i}\n`).join("");
152+ buildBase({ "a.txt": lines("a"), "b.txt": lines("b"), "c.txt": lines("c") }, { author: "test", message: "base" }),
- MCP
- compare on this site's /mcp
- CLI
- abso diff 243 318 worker/project/test/view-cache.test.ts --json
- JSON
- /christopher/abso-core/compare/243..318?file=worker%2Fproject%2Ftest%2Fview-cache.test.ts&format=json