Versions 129 to 318
Lines 5–53 at 318 (were 5–10 at 129)
77
8+test("counter writes avoid rereads while respecting failed writes, rollback and cache bounds", () => {
44+ assert.equal(Object.is(cache.read("counter", "negative-zero"), source.read("counter", "negative-zero")), true);
49+
50+// The line-by-line layout, which a graph adopted before packed file history still uses (packFiles: false).
851test("current visibility stops at the first included deletion while history retains every deleter", () => {
Lines 60–66 at 318 (were 17–23 at 129)
20− const graph = new Graph({ storage });
Lines 69–75 at 318 (were 26–32 at 129)
29− const reopened = new Graph({ storage });
Lines 405–565 at 318 (were 362–364 at 129)
408+
446+ assert.equal(storage.pageReads, 1, "the implicit child needs no page; the next sibling needs one");
465+
466+test("persistent layout uses ordered successors without retaining deep or wide history frontiers", () => {
471+ "a.txt": shape === "deep" ? Array.from({ length: 1024 }, (_, n) => `line ${n}\n`).join("") : "base\n",
514+
532+ assert.equal(storage.priorityReads, 0, "single-child traversal does not decode sort priority");
539+
540+test("ordered layout refuses missing format or child metadata instead of dropping history", () => {
548+ () => new View(new Graph({ storage, packFiles: false }), new StableOverlaySet(["a0"])).text("a.txt"),
- MCP
- compare on this site's /mcp
- CLI
- abso diff 129 318 src/engine/test/state-source.test.ts --json
- JSON
- /christopher/abso-core/compare/129..318?file=src%2Fengine%2Ftest%2Fstate-source.test.ts&format=json