chore: prepare 2026.4.19-beta.1 release

This commit is contained in:
Peter Steinberger
2026-04-19 01:36:01 +01:00
parent 9a1761d80c
commit ac8f0c9c0d
122 changed files with 347 additions and 189 deletions

View File

@@ -379,6 +379,25 @@ describe("collectForbiddenPackedPathErrors", () => {
rmSync(rootDir, { recursive: true, force: true });
}
});
it("allows legacy QA compatibility paths in the generated dist inventory", () => {
const rootDir = mkdtempSync(join(tmpdir(), "openclaw-pack-inventory-"));
try {
mkdirSync(join(rootDir, "dist"), { recursive: true });
writeFileSync(
join(rootDir, PACKAGE_DIST_INVENTORY_RELATIVE_PATH),
JSON.stringify(["dist/extensions/qa-lab/runtime-api.js"]),
"utf8",
);
expect(
collectForbiddenPackedContentErrors([PACKAGE_DIST_INVENTORY_RELATIVE_PATH], rootDir),
).toEqual([]);
} finally {
rmSync(rootDir, { recursive: true, force: true });
}
});
});
describe("collectPackedTestCargoErrors", () => {

View File

@@ -349,6 +349,25 @@ describe("collectForbiddenPackPaths", () => {
rmSync(tempRoot, { recursive: true, force: true });
}
});
it("allows legacy QA compatibility paths in the generated dist inventory", () => {
const tempRoot = mkdtempSync(join(tmpdir(), "openclaw-release-inventory-"));
try {
mkdirSync(join(tempRoot, "dist"), { recursive: true });
writeFileSync(
join(tempRoot, PACKAGE_DIST_INVENTORY_RELATIVE_PATH),
JSON.stringify(["dist/extensions/qa-lab/runtime-api.js"]),
"utf8",
);
expect(
collectForbiddenPackContentPaths([PACKAGE_DIST_INVENTORY_RELATIVE_PATH], tempRoot),
).toEqual([]);
} finally {
rmSync(tempRoot, { recursive: true, force: true });
}
});
});
describe("collectMissingPackPaths", () => {