Versions 175 to 318
Lines 51–60 at 318 (were 51–57 at 175)
5151 shared > v ? (ci.running !== null ? running : ci.skipped ? "" : ` Versions after ${v} aren't checked yet.`) : "";
5252 if (ci.checked.result === "pass") lines.push(`Shared is green: version ${v} passed its check.${newer}`);
5353 else if (ci.checked.result === "fail") lines.push(`Version ${v} failed its check. abso ci ${v} shows why.${newer}`);
54− else lines.push(`CI couldn't check version ${v} (the box failed twice, or abso.json has nothing to run).${newer}`);
56+ `CI couldn't check version ${v} (the box failed twice, or the pipeline file has nothing to run).${newer}`,
Lines 80–122 at 318 (were 77–82 at 175)
7982
90+
91+/** The stored pipeline runs, newest first, from the server's `pipelines` read; empty for anything else. */
105+
108+ const how = run.state === "planned" ? "was planned, not run," : run.state === "running" ? "is running" : run.state;
109+ return `Pipeline run ${run.id} (${run.file}) ${how} on version ${run.version}. abso pipeline runs ${run.id} shows its jobs.`;
111+
113+ * Whether the built-in check (abso.json's setup, build and check) had nothing of its own to run. With stored runs, that is
114+ * about the built-in check, not the project's CI, so it isn't said as the project's (abso 719).
119+
80120/** A shared version's mark in abso log; "not checked" says nothing, since most versions in a busy hour are covered by a newer one's job. */
Lines 154–160 at 318 (were 114–120 at 175)
114154 ? `Version ${job.version} passed${covered}${took === "" ? "" : ` (${took})`}${job.built ? "; its build is kept for the preview" : ""}.`
116156 ? `Version ${job.version} failed at ${job.step ?? "a step"}${job.exit === undefined || job.exit === null ? "" : ` (exit ${job.exit})`}${covered}${took === "" ? "" : `, ${took}`}.`
117− : `Version ${job.version} wasn't checked${job.step === undefined ? "" : ` (${job.step})`}: the box failed twice, or abso.json has nothing to run.`;
157+ : `Version ${job.version} wasn't checked${job.step === undefined ? "" : ` (${job.step})`}: the box failed twice, or the pipeline file has nothing to run.`;
Lines 180–199 at 318 (were 140–150 at 175)
142182 if (!/^\d+$/.test(typed)) throw new UsageError(`a version is a number (got ${JSON.stringify(typed)})`);
143− const job = await api.ci(Number(typed));
144− return { text: jobText(job).join("\n"), json: { ...job } };
183+ const [job, raw] = await Promise.all([api.ci(Number(typed)), api.pipelineRuns().catch(() => null)]);
185+ // A version the built-in check never ran, with a pipeline run of its own: the run is its CI (abso 719).
146− const [ci, status] = await Promise.all([api.ci(), api.status()]);
147− const lines = ciText(ci, status.version);
189+ const [ci, status, raw] = await Promise.all([api.ci(), api.status(), api.pipelineRuns().catch(() => null)]);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 175 318 client/src/ci.ts --json
- JSON
- /christopher/abso-core/compare/175..318?file=client%2Fsrc%2Fci.ts&format=json