Versions 175 to 318
Lines 824–869 at 318 (were 824–829 at 175)
826826
827+ it("shows and exports a version without earlier ones, refuses one a kept version builds on, and leaves shared alone", async () => {
837+
842+ /^Version 2 of shared without version 1:\n {2}version 1 by alice: change a\nCompared with version 2: 1 file, 1 line added, 1 removed\.\nThe files hash to [0-9a-f]{64}; the same ask gives the same hash\. Shared doesn't change\./,
847+
852+ "Version 3 of shared can't leave out version 1: versions it keeps build on it.\n version 3 by alice: change a again\n builds on version 1 (a.txt)\nLeaving those out too works: abso show 3 --without 1,3\n",
866+
827867 it("refuses a push that builds on lines a drop took out, plainly, with exit 2", async () => {
Lines 3236–3242 at 318 (were 3196–3202 at 175)
31983238 assert.deepEqual(ciText({ ...base, checked: { version: 2, result: "none" }, running: null }, 3, now), [
3199− "CI couldn't check version 2 (the box failed twice, or abso.json has nothing to run). Versions after 2 aren't checked yet.",
3239+ "CI couldn't check version 2 (the box failed twice, or the pipeline file has nothing to run). Versions after 2 aren't checked yet.",
32023242 ciText({ ...base, running: null, red: { version: 1, agent: null, message: null, lastGood: null } }, 1, now),
Lines 3748–3776 at 318 (were 3708–3713 at 175)
37103750
3751+ it("a reader talks: it announces, notes lines and closes notes, but still can't start or push (abso 682)", async () => {
3754+ const joined = await main(["join", name, "--agent", "rep", "--server", fake.url, "--reader"], {
3766+ assert.equal((await avcs(dir, "note", "--close", String(noted.json.id), "--withdrawn")).exit, 0);
3768+ const started = await main(["start", "reader work"], { cwd: dir, env: ENV, write: () => {} });
3770+ assert.equal((await main(["push", "-m", "x"], { cwd: dir, env: ENV, write: () => {} })).exit, 1);
3771+ assert.equal((await avcs(folders.alice!, "news")).json.news.length > 0, true, "alice heard the reader");
3773+
37113774 it("reader on is refused while the agent has unpushed work, and changes nothing here", async () => {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 175 318 client/test/client.test.ts --json
- JSON
- /christopher/abso-core/compare/175..318?file=client%2Ftest%2Fclient.test.ts&format=json