Skip to content

abso-core

Public
Check passed

Versions 49 to 318

Compare

+4 −1 in 2 places
Lines 86–94 at 318 (were 86–91 at 49)
8686 res.writeHead(404).end("{}");
8787 });
8888 });
89+ // As fake-server.ts: never close an idle kept-alive connection, or under load the client can reuse one as it closes
90+ // and fail with ECONNRESET (abso 410).
91+ issues.keepAliveTimeout = 0;
8992 await new Promise<void>((ok) => issues.listen(0, "127.0.0.1", ok));
9093 issuesUrl = `http://127.0.0.1:${(issues.address() as AddressInfo).port}`;
9194});
Lines 136–142 at 318 (were 133–139 at 49)
133136 calls.map((c) => `${c.method} ${c.url.replace(/^\/p\/[^/]+/, "")}`),
134137 ["POST /a/ann/attachments", "POST /a/ann/attachments", "POST /a/ann/issue"],
135138 );
136− assert.equal(calls[0]!.headers["x-avcs-name"], "shot.png");
139+ assert.equal(calls[0]!.headers["x-abso-name"], "shot.png");
137140 assert.equal(calls[0]!.headers["content-type"], "application/octet-stream");
138141 assert.deepEqual([...calls[0]!.body], [0x89, 0x50, 0x4e, 0x47, 1, 2, 3]);
139142 const opened = JSON.parse(calls[2]!.body.toString()) as { title: string; attachments: string[] };
MCP
compare on this site's /mcp
CLI
abso diff 49 318 client/test/attach.test.ts --json
JSON
/christopher/abso-core/compare/49..318?file=client%2Ftest%2Fattach.test.ts&format=json