refactor(tools): remove artificial analysis ceilings

This commit is contained in:
morluto
2026-09-29 16:29:23 +08:00
parent 36aeec9586
commit 2f08c7c932
202 changed files with 2314 additions and 3072 deletions
@@ -99,10 +99,6 @@ describe("package installation workflows", () => {
it("verifies the package before publish and runs published canaries outside the checkout", async () => {
const release = await readWorkflow("release.yml");
const canary = await readFile(
new URL("../../../scripts/verify-published-package.mjs", import.meta.url),
"utf8",
);
const publishJob = workflowJob(release, "publish");
const publishSteps = publishJob.steps;
@@ -120,13 +116,9 @@ describe("package installation workflows", () => {
({ name }: { readonly name?: unknown }) =>
name === "Verify published CLI from npm",
);
expect(publishedCanary?.run).toContain('verification_root="$(mktemp -d)"');
expect(publishedCanary?.run).toContain('cd "${verification_root}"');
expect(publishedCanary?.run).not.toContain(
'npm run verify:published -- "${version}"',
expect(publishedCanary?.run).toContain(
"scripts/verify-published-package.mjs",
);
expect(canary).toContain('mkdtemp(join(tmpdir(), "rea-published-canary-")');
expect(canary).toContain("cwd: canaryRoot");
const publisherJob = workflowJob(release, "publish-mcp");
const publisherSteps = publisherJob.steps;
expect(publisherJob).toMatchObject({