mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:40:44 +00:00
chore: prepare 2026.4.19-beta.1 release
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user