Versions 160 to 318
Lines 105–165 at 318 (were 105–107 at 160)
108+
109+test("a rollback drops only what its transaction wrote; a nested commit's writes go with an outer rollback (abso Capacity)", () => {
118+ // A projection scratch scope: rolled back on purpose, and the rows read around it stay cached.
130+ // A nested transaction commits, then the outer one rolls back: both writes are undone, and the cache forgets both.
148+
149+test("a row over the per-row limit is read but not kept, and pushes nothing out (abso Capacity)", () => {
159+ assert.equal(source.reads, reads + 1, "the big row was read from storage once and the small one stayed cached");
- MCP
- compare on this site's /mcp
- CLI
- abso diff 160 318 src/engine/test/state-cache.test.ts --json
- JSON
- /christopher/abso-core/compare/160..318?file=src%2Fengine%2Ftest%2Fstate-cache.test.ts&format=json