Versions 2 to 318
new file, 170 lines
12+
13+test("open server adopts and records through its call adapter without full-history loading", (t) => {
36+ const host = () => new SqliteWriterHost(storage, namespace, undefined, { indexProjectionAtoms: true });
46+ const page = host().adoptVerifiedPage({ expected, from, digest, maxEntries: 2, maxBytes: 16384 }, () => {});
56+ assert.deepEqual(storage.db.prepare("SELECT * FROM log ORDER BY seq, part").all(), canonicalBefore);
106+ const writer = () => new SqliteWriterHost(storage, namespace, projection, { indexProjectionAtoms: true });
120+ state: storage.db.prepare("SELECT * FROM writer_state ORDER BY namespace, collection, key, part").all(),
123+ assert.throws(() => run("record", { files: { "b.txt": "failed\n" } }, true), /receipt failure/);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 2 318 server/test/writer-host.test.ts --json
- JSON
- /christopher/abso-core/compare/2..318?file=server%2Ftest%2Fwriter-host.test.ts&format=json