Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
import test from "node:test";
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import { parse } from "yaml";
test("both observers retain incremental command logs even on failure", () => {
const workflow = parse(
readFileSync(
new URL("../../../.github/workflows/nightly-release-green.yml", import.meta.url),
"utf8"
)
);
for (const id of ["release-green", "main-green"]) {
const upload = workflow.jobs[id].steps.find(
(step: { name?: string }) => step.name === "Upload report artifact"
);
assert.equal(upload.if, "always()");
assert.match(upload.with.path, /_artifacts\/release-green\//);
assert.equal(upload.with["if-no-files-found"], "error");
assert.equal(upload.with["retention-days"], 14);
}
});