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
MCP
show on this site's /mcp
CLI
abso show 209 --json
JSON
/christopher/abso-core/versions/209?format=json

Merge queue: no cap on a batch (Christopher, 10:10 PM CT Oct 14; Agent VCS's job). A batch is everything waiting, in order; it was 8 at a time. RoundOptions.cap is gone: no caller passed one (abso's index.ts and customer-queue-round.ts pass only sharedRed). A failing batch still halves to the push that fails. The customer queue's 32-checks-per-continuation bound is unchanged: halving a few hundred waiting pushes takes about a dozen. Tests: worker/project/test/queue-driver.test.ts (10), with ten landing on one check and a failing tenth-place batch past the old cap.

of shared·onboard··Not checked

Merge queue: no cap on a batch (Christopher, 10:10 PM CT Oct 14; Agent VCS's job). A batch is everything waiting, in order; it was 8 at a time. RoundOptions.cap is gone: no caller passed one (abso's index.ts and customer-queue-round.ts pass only sharedRed).

A failing batch still halves to the push that fails. The customer queue's 32-checks-per-continuation bound is unchanged: halving a few hundred waiting pushes takes about a dozen. Tests: worker/project/test/queue-driver.test.ts (10), with ten landing on one check and a failing tenth-place batch past the old cap.

Version 208 · Files at version 209

2 files, 23 lines added, 8 removed.

--- a/worker/project/queue-driver.ts
+++ b/worker/project/queue-driver.ts
@@ -4,7 +4,7 @@
44// is behind an interface (a CI runner on the server, a function in tests),
55// so this file holds only the rules agreed on #39:
66//
7−// - A batch is everything waiting, in order, up to `cap` (8).
7+// - A batch is everything waiting, in order (Christopher, Oct 14: no cap; it was 8).
88// - Pass: every publish in the batch lands, each as its own version.
99// - Fail: halve prefixes to find the passing prefix and the first publish
1010// that fails on top of it. That failing prefix is run once more; only a
@@ -45,8 +45,6 @@
4545}
4646
4747export interface RoundOptions {
48− /** The most publishes in one batch. */
49− readonly cap?: number;
5048 /** Whether shared's newest version fails the check now. */
5149 readonly sharedRed?: boolean;
5250 readonly now?: () => number;
@@ -92,7 +90,7 @@
9290 const waiting = engine.queue().items.length;
9391 if (waiting === 0) return { kind: "idle" };
9492 const now = options.now ?? Date.now;
95− const n = Math.min(Math.max(1, options.cap ?? 8), waiting);
93+ const n = waiting;
9694 let checks = 0;
9795 let output: string | undefined;
9896 /** The tree each prefix was checked as: a land or a pull goes ahead only on that same tree. */
--- a/worker/project/test/queue-driver.test.ts
+++ b/worker/project/test/queue-driver.test.ts
@@ -69,14 +69,31 @@
6969 assert.deepEqual(project.queueChecking(0), []);
7070});
7171
72−test("a batch is capped; the rest waits for the next round", async () => {
72+test("a batch is everything waiting, with no cap (Christopher, Oct 14): ten land on one check", async () => {
7373 const project = setup();
7474 for (const a of AGENTS) queue(project, a, "1");
75− const r = await queueRound(project, checker(), { cap: 8 });
76− assert.equal(r.kind === "landed" && r.versions.length, 8);
75+ const c = checker();
76+ const r = await queueRound(project, c);
77+ assert.equal(r.kind === "landed" && r.versions.length, AGENTS.length);
7778 assert.deepEqual(
79+ c.runs.map((x) => x.ids.length),
80+ [AGENTS.length],
81+ );
82+ assert.deepEqual(project.queue().items, []);
83+});
85+test("a failing batch past the old cap of 8 still halves to the push that fails, and the rest waits", async () => {
86+ const project = setup();
87+ for (const [i, a] of AGENTS.entries()) queue(project, a, i === 8 ? '"BAD"' : "1");
88+ const c = checker();
89+ const r = await queueRound(project, c);
90+ assert.equal(c.runs[0]!.ids.length, AGENTS.length, "the first check is the whole queue");
91+ assert.ok(r.kind === "pulled");
92+ assert.deepEqual(r.pulled, [9]);
93+ assert.equal(r.versions.length, 8, "the eight before it land");
94+ assert.deepEqual(
7895 project.queue().items.map((q) => q.id),
79− [9, 10],
96+ [10],
8097 );
8198});
8299