Versions 295 to 318
new file, 60 lines
1+// abso ci for a project whose CI is its pipeline file (abso 719): test-byoc on 2026-10-16 had no abso.json, and abso ci
2+// said "nothing to run" while its abso.yml's run 8 was going. The stored run is the project's CI there.
3+
7+
15+
32+
44+ "Pipeline run 2 (abso.yml) was planned, not run, on version 1. abso pipeline runs 2 shows its jobs.",
47+
48+test("only the built-in check's own nothing to run is set aside, never a red or another skip", () => {
50+ assert.equal(builtInHasNothing({ ...base, skipped: { ...nothing, reason: "CI is off" } }), false);
Lines 4–15 at 318 (were 4–14 at 295)
44
7−import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
7+import { existsSync, mkdirSync, mkdtempSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
1415
Lines 42–53 at 318 (were 41–47 at 295)
4344
44−describe("a local project, with the network off", () => {
45+/** A copy of the client without the open server beside it (a platform that pins only client/) has no local projects to test. */
46+const noServer = existsSync(fileURLToPath(new URL("../../server/src/router.ts", import.meta.url)))
49+
Lines 133–162 at 318 (were 127–135 at 295)
136+
140+ const answers = await Promise.all([local(`${LOCAL_BASE}/p/demo/queue`), local(`${LOCAL_BASE}/p/demo/queue`)]);
144+
145+ it("a project's name can't start with a dot, so its folder stays inside the store", async () => {
131158
132−describe("where a local project's store is", () => {
133160 it("--store inside the folder is kept in its settings and left out of its files", async () => {
Lines 191–197 at 318 (were 164–170 at 295)
166193
167−describe("local commands as their own processes", () => {
168195 // The way people and agents run them: client/abso.ts, a process per command, Node's compile cache as it is.
Lines 155–172 at 318 (were 155–160 at 295)
157157
158+ // On that server a read can find other news waiting: the frame's own item still shows (Code Review, 291).
163+
164+ // A catch-up frame names the first few waiting items and how many more: the read shows them all, the frame adds nothing.
165+ const catchUp = world([{ frames: ["fe told you: hello\ncloud: ship it?\nand 1 more"], close: { code: 1006 } }]);
169+
new file, 106 lines
1+// abso login --web: a staging website session handed to a browser as a one-use link, with no secret printed.
2+
9+
15+
16+test("the credential goes only to the staging website beside the folder's staging server (Security condition 6)", () => {
24+ assert.throws(() => siteFor("https://api.abso.dev", "http://localhost:8871", "pat"), /for staging/);
27+ assert.throws(() => siteFor(STAGING, "http://localhost:8871", "box"), /isn't taken with a box's sign-in/);
31+ for (const elsewhere of ["https://anywhere.example", SITE, "https://localhost:8871", "not a url"])
34+
37+ const fetcher = (async (url: string) => (sent.push(url), Response.json({}))) as unknown as typeof fetch;
47+ await assert.rejects(webLogin({ ...asked, credential, fetcher }), /Nothing was sent/, JSON.stringify(asked));
51+ await webLogin({ server: STAGING, site: undefined, kind: "pat", credential: () => PAT, fetcher }).catch(() => {});
54+
55+test("the credential goes in Authorization only, and the answer is the one link and who it signs in as", async () => {
58+ seen.push({ url, authorization: new Headers(init.headers).get("authorization"), body: init.body ?? null });
68+ assert.deepEqual(seen, [{ url: `${SITE}/login/handoff`, authorization: `Bearer ${BOX}`, body: null }]);
77+
78+test("a refusal says why without the credential; an answer that isn't the site's own link is refused", async () => {
80+ Response.json({ error: `that key was refused: ${BOX}` }, { status: 401 })) as unknown as typeof fetch;
86+ const off = (async () => Response.json({ error: "not found" }, { status: 404 })) as unknown as typeof fetch;
96+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 295 318 client/test --json
- JSON
- /christopher/abso-core/compare/295..318?file=client%2Ftest&format=json