mirror of
https://github.com/morluto/rea.git
synced 2026-11-14 10:43:30 +00:00
Explicit deadlines at or below the project deadline only shortened it: a literal 30-second value also disabled the coverage scaling, which timed out wide-capacity regressions on main. Workloads above the built deadline use the long-running tag. Deadlines derived from an operation budget remain. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
870 B
TypeScript
28 lines
870 B
TypeScript
import { readdir } from "node:fs/promises";
|
|
|
|
import { describe, expect } from "vitest";
|
|
|
|
import { workspaceCliTest } from "../../support/cli/workspaceCliFixture.js";
|
|
|
|
describe("CLI skill lifecycle boundary", () => {
|
|
workspaceCliTest(
|
|
"does not expose the unmanaged Incur skill generator",
|
|
async ({ cli, workspace }) => {
|
|
const help = await cli.run({
|
|
arguments: ["--help"],
|
|
environment: workspace.environment,
|
|
});
|
|
expect(help).toMatchObject({ exitCode: 0 });
|
|
expect(help.stdout).not.toMatch(/^\s+skills\b/mu);
|
|
|
|
const result = await cli.run({
|
|
arguments: ["skills", "add"],
|
|
environment: workspace.environment,
|
|
});
|
|
expect(result.exitCode).toBe(1);
|
|
expect(result.stdout).toContain("COMMAND_NOT_FOUND");
|
|
await expect(readdir(workspace.home)).resolves.toEqual([]);
|
|
},
|
|
);
|
|
});
|