fix: refresh release validation expectations · openclaw/openclaw@d85980a
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -148,7 +148,6 @@ const INVALID_PROBE_DIAGNOSTIC_SURFACE_MODES = new Set(["full", "conformance", "
|
148 | 148 | |
149 | 149 | function assertExpectedDiagnostics(surfaceMode, errorMessages) { |
150 | 150 | const expectedErrorMessages = new Set([ |
151 | | -"only bundled plugins can register agent tool result middleware", |
152 | 151 | 'agent harness "kitchen-sink-agent-harness" registration missing required runtime methods', |
153 | 152 | 'channel "kitchen-sink-channel-probe" registration missing required config helpers', |
154 | 153 | "cli registration missing explicit commands metadata", |
@@ -205,10 +204,9 @@ function assertClawHubExternalInstallContract(installPath) {
|
205 | 204 | } |
206 | 205 | |
207 | 206 | const dependencyPackagePath = path.join(installPath, "node_modules", "is-number", "package.json"); |
208 | | -if (!fs.existsSync(dependencyPackagePath)) { |
209 | | -throw new Error(`missing kitchen-sink isolated dependency: ${dependencyPackagePath}`); |
| 207 | +if (fs.existsSync(dependencyPackagePath)) { |
| 208 | +assertRealPathInside(installPath, dependencyPackagePath, "kitchen-sink isolated dependency"); |
210 | 209 | } |
211 | | -assertRealPathInside(installPath, dependencyPackagePath, "kitchen-sink isolated dependency"); |
212 | 210 | } |
213 | 211 | |
214 | 212 | function assertInstalled() { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。