Versions 170 to 318
Lines 1–11 at 318 (were 1–9 at 170)
2−import { registerHooks } from "node:module";
911
Lines 22–215 at 318 (were 20–25 at 170)
2224
56+ assert.equal((await object(false).call("retry", "init", undefined, { files: { "a.txt": "first\n" } })).status, 200);
75+ assert.ok(alarm !== null && alarm >= before + minutes * 60000 && alarm <= Date.now() + minutes * 60000);
85+
86+test("size refusals survive cold objects, retry changed heads or policy, and prevent outgoing pushes", async (t) => {
124+ (await object(false).call("size-refusal", "init", undefined, { files: { "a.txt": "original\n" } })).status,
165+ values.set("git:size-refusal", { ...(values.get("git:size-refusal") as object), policy: "old-policy" });
178+
189+
192+ const intake = (options.cache as Record<symbol, GitDiskIntake> | undefined)?.[Symbol.for("abso.git.disk-pack")];
201+ const pack = (await git.packObjects({ fs: remote, dir: "/repo", oids, write: false })).packfile!;
212+
23213test("empty disk projects and unloadable legacy projects preserve lookup fallbacks", async (t) => {
Lines 488–503 at 318 (were 298–304 at 170)
298488 const blob = await git.readBlob({ fs: options.fs, dir: options.dir, oid, filepath: "a.txt" });
301− remoteFiles = options.fs as MemoryFS;
497+ ? { ...entry, data: new Uint8Array((await (options.fs as MemoryFS).readFile(path)) as Uint8Array) }
Lines 543–556 at 318 (were 344–352 at 170)
345544 t.mock.method(git, "listServerRefs", async () => [{ ref: "refs/heads/main", oid: incoming }]);
347− (options.fs as MemoryFS).entries = structuredClone(remote.entries);
Lines 561–578 at 318 (were 357–371 at 170)
361566 assert.equal((await bound().out()).git.head, parent, "failed intake must not acknowledge the remote head");
369576 assert.deepEqual(rows(), committedIntake, "retry after cursor failure returns the atomic intake receipt");
Lines 650–656 at 318 (were 443–449 at 170)
446− (options.fs as MemoryFS).entries = structuredClone(remote.entries);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 170 318 server/test/project-object-disk-first.test.ts --json
- JSON
- /christopher/abso-core/compare/170..318?file=server%2Ftest%2Fproject-object-disk-first.test.ts&format=json