Versions 161 to 162
new file, 123 lines
6+
17+ assert.deepEqual(storage.read("line-text", "0"), { format: 1, text: JSON.stringify(["0", 0]) });
20+ (storage.db.prepare("SELECT COUNT(*) AS n FROM state WHERE collection = 'atom-text:long:chunks'").get()!
27+
30+
58+ "SELECT COUNT(*) AS n FROM writer_state WHERE namespace = 'long-atom' AND collection = 'atom-text:long:chunks' AND part = -1",
66+ "SELECT COUNT(*) AS n FROM writer_state WHERE namespace = 'long-atom' AND collection = 'line-text:long:chunks'",
72+
86+ const failure = t.mock.method(storage, "write", (collection: string, key: string, value: unknown) => {
88+ if (collection === "atom-text:long:chunks" && ++chunks === 2) throw Error("injected partial atom text");
102+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 161 162 src/engine/test/graph-long-text.test.ts --json
- JSON
- /christopher/abso-core/compare/161..162?file=src%2Fengine%2Ftest%2Fgraph-long-text.test.ts&format=json