Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 97 to 318

Compare

+7 −7 in 3 places
Lines 9–15 at 318 (were 9–15 at 97)
99const item = (id: number, agent: string, checking = false): QueueItem => ({
1010 id,
1111 agent,
12− message: `publish ${id}`,
12+ message: `push ${id}`,
1313 time: 0,
1414 changes: 1,
1515 checking,
Lines 17–23 at 318 (were 17–23 at 97)
1717const state = (items: QueueItem[], paused: QueueState["paused"] = null): QueueState =>
1818 ({ items, paused }) as unknown as QueueState;
1919
20−describe("waiting: your publishes in the merge queue", () => {
20+describe("waiting: your pushes in the merge queue", () => {
2121 it("says nothing when none of yours waits, or there's no queue to read", () => {
2222 assert.deepEqual(queuedLines(undefined, "ann"), []);
2323 assert.deepEqual(queuedLines(state([]), "ann"), []);
Lines 26–38 at 318 (were 26–38 at 97)
2626
2727 it("says where yours stands, and how the outcome comes", () => {
2828 assert.deepEqual(queuedLines(state([item(1, "bob", true), item(2, "ann")]), "ann"), [
29− 'Your publish 2 ("publish 2") is in the merge queue: waiting, 1 publish ahead of it.',
30− "It lands or is pulled once the project's check runs on it; the outcome comes as news, and abso unqueue takes it back.",
29+ 'Your push 2 ("push 2") is in the merge queue: waiting, 1 push ahead of it.',
30+ "It lands or is turned back once the project's check runs on it; the outcome comes as news, and abso unqueue takes it back.",
3131 ]);
3232 assert.deepEqual(queuedLines(state([item(3, "ann", true), item(4, "bob", true), item(5, "ann")]), "ann"), [
33− 'Your publish 3 ("publish 3") is in the merge queue: being checked in a batch of 2.',
34− 'Your publish 5 ("publish 5") is in the merge queue: waiting, 2 publishes ahead of it.',
35− "Each lands or is pulled once the project's check runs on it; the outcome comes as news, and abso unqueue takes them back.",
33+ 'Your push 3 ("push 3") is in the merge queue: being checked in a batch of 2.',
34+ 'Your push 5 ("push 5") is in the merge queue: waiting, 2 pushes ahead of it.',
35+ "Each lands or is turned back once the project's check runs on it; the outcome comes as news, and abso unqueue takes them back.",
3636 ]);
3737 });
3838
MCP
compare on this site's /mcp
CLI
abso diff 97 318 client/test/queue-waiting.test.ts --json
JSON
/christopher/abso-core/compare/97..318?file=client%2Ftest%2Fqueue-waiting.test.ts&format=json