fix: refresh release validation expectations

This commit is contained in:
Peter Steinberger
2026-05-01 23:40:47 +01:00
parent 4babd925c4
commit d85980a529
4 changed files with 6 additions and 10 deletions

View File

@@ -1,2 +1,2 @@
1973d093c4fe08bc3f41d8c80ed089bf9674b299648c8958e9ca513327a8d3f0 plugin-sdk-api-baseline.json
4ef761cd8ce9f163fcce09ca17bcf58dfe6ae901108218fb9994e7c297a394d1 plugin-sdk-api-baseline.jsonl
edf54c8ce4c65d44ade9953509b1c3264f4ed12c8bf8eb0a13703a76d185f744 plugin-sdk-api-baseline.json
2418f2484d2d5b40ec8c9b3b92562c76abae43845bb18af0d59706848422555c plugin-sdk-api-baseline.jsonl

View File

@@ -148,7 +148,6 @@ const INVALID_PROBE_DIAGNOSTIC_SURFACE_MODES = new Set(["full", "conformance", "
function assertExpectedDiagnostics(surfaceMode, errorMessages) {
const expectedErrorMessages = new Set([
"only bundled plugins can register agent tool result middleware",
'agent harness "kitchen-sink-agent-harness" registration missing required runtime methods',
'channel "kitchen-sink-channel-probe" registration missing required config helpers',
"cli registration missing explicit commands metadata",
@@ -205,10 +204,9 @@ function assertClawHubExternalInstallContract(installPath) {
}
const dependencyPackagePath = path.join(installPath, "node_modules", "is-number", "package.json");
if (!fs.existsSync(dependencyPackagePath)) {
throw new Error(`missing kitchen-sink isolated dependency: ${dependencyPackagePath}`);
if (fs.existsSync(dependencyPackagePath)) {
assertRealPathInside(installPath, dependencyPackagePath, "kitchen-sink isolated dependency");
}
assertRealPathInside(installPath, dependencyPackagePath, "kitchen-sink isolated dependency");
}
function assertInstalled() {

View File

@@ -291,10 +291,9 @@ function assertClawHubExternalInstallContract(installPath) {
}
const dependencyPackagePath = path.join(installPath, "node_modules", "is-number", "package.json");
if (!fs.existsSync(dependencyPackagePath)) {
throw new Error(`missing ClawHub isolated dependency: ${dependencyPackagePath}`);
if (fs.existsSync(dependencyPackagePath)) {
assertRealPathInside(installPath, dependencyPackagePath, "ClawHub isolated dependency");
}
assertRealPathInside(installPath, dependencyPackagePath, "ClawHub isolated dependency");
}
function assertPluginDirDeps() {

View File

@@ -158,7 +158,6 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
expect(clawhubScript).toContain('plugins install "$CLAWHUB_PLUGIN_SPEC"');
expect(assertionsScript).toContain("assertClawHubExternalInstallContract");
expect(assertionsScript).toContain('node_modules", "openclaw');
expect(assertionsScript).toContain('node_modules", "is-number');
expect(fixtureServer).toContain('"is-number": "7.0.0"');
expect(fixtureServer).toContain('openclaw: ">=2026.4.11"');
});