test(e2e): keep matrix survivor installs internal · openclaw/openclaw@4c33f7d
vincentkoc
·
2026-05-03
·
via Recent Commits to openclaw:main
File tree
scripts/e2e/lib/upgrade-survivor
| Original file line number | Diff line number | Diff line change |
|---|
@@ -427,17 +427,9 @@ function assertConfiguredPluginInstalls() {
|
427 | 427 | const records = index.installRecords ?? {}; |
428 | 428 | const matrix = records.matrix; |
429 | 429 | const bundledMatrix = (index.plugins ?? []).find((plugin) => plugin?.pluginId === "matrix"); |
430 | | -if (!matrix) { |
431 | | -assert( |
432 | | -bundledMatrix, |
433 | | -"configured matrix plugin is neither present in the plugin index nor installed externally", |
434 | | -); |
435 | | -assert(bundledMatrix.enabled !== false, "configured bundled matrix plugin is disabled"); |
436 | | -assertExternalPluginInstall(records, "discord", "@openclaw/discord"); |
437 | | -assert(!records.telegram, "internal telegram plugin should not be installed externally"); |
438 | | -return; |
439 | | -} |
440 | | -assertExternalPluginInstall(records, "matrix", "@openclaw/matrix"); |
| 430 | +assert(!matrix, "internal matrix plugin should not be installed externally"); |
| 431 | +assert(bundledMatrix, "configured bundled matrix plugin is missing from the plugin index"); |
| 432 | +assert(bundledMatrix.enabled !== false, "configured bundled matrix plugin is disabled"); |
441 | 433 | assertExternalPluginInstall(records, "discord", "@openclaw/discord"); |
442 | 434 | assert(!records.telegram, "internal telegram plugin should not be installed externally"); |
443 | 435 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。