惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
人人都是产品经理
人人都是产品经理
小众软件
小众软件
博客园 - Franky
WordPress大学
WordPress大学
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
F
Fortinet All Blogs
博客园 - 【当耐特】
IT之家
IT之家
G
Google Developers Blog
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
V
Visual Studio Blog
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
GbyAI
GbyAI
雷峰网
雷峰网

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(plugins): isolate peer-link repair failures · opencla...
ProspectOre · 2026-05-06 · via Recent Commits to openclaw:main

@@ -994,6 +994,87 @@ describe("updateNpmInstalledPlugins", () => {

994994

}

995995

});

996996997+

it("continues repairing sibling openclaw peer links after one recorded npm install cannot be relinked", async () => {

998+

const plugins = [

999+

{ pluginId: "brave", packageName: "@openclaw/brave-plugin" },

1000+

{ pluginId: "codex", packageName: "@openclaw/codex" },

1001+

];

1002+

const { installPaths, peerLinkPath, linkPeer } = createOpenClawPeerLinkFixtures(plugins);

1003+

const brokenInstallPath = createInstalledPackageDir({

1004+

name: "@openclaw/broken-plugin",

1005+

version: "2026.5.4",

1006+

peerDependencies: { openclaw: ">=2026.5.4" },

1007+

});

1008+

fs.writeFileSync(path.join(brokenInstallPath, "node_modules"), "not a directory");

1009+

linkPeer("brave");

1010+

mockNpmViewMetadata({

1011+

name: "@openclaw/codex",

1012+

version: "2026.5.4",

1013+

integrity: "sha512-same",

1014+

shasum: "same",

1015+

});

1016+

installPluginFromNpmSpecMock.mockImplementation(() => {

1017+

for (const { pluginId } of plugins) {

1018+

fs.rmSync(peerLinkPath(pluginId), { recursive: true, force: true });

1019+

}

1020+

linkPeer("codex");

1021+

return Promise.resolve(

1022+

createSuccessfulNpmUpdateResult({

1023+

pluginId: "codex",

1024+

targetDir: installPaths.codex,

1025+

version: "2026.5.4",

1026+

npmResolution: {

1027+

name: "@openclaw/codex",

1028+

version: "2026.5.4",

1029+

resolvedSpec: "@openclaw/codex@2026.5.4",

1030+

},

1031+

}),

1032+

);

1033+

});

1034+

const warnMessages: string[] = [];

1035+1036+

await updateNpmInstalledPlugins({

1037+

config: {

1038+

plugins: {

1039+

installs: {

1040+

broken: {

1041+

source: "npm",

1042+

spec: "@openclaw/broken-plugin",

1043+

installPath: brokenInstallPath,

1044+

resolvedName: "@openclaw/broken-plugin",

1045+

resolvedVersion: "2026.5.4",

1046+

resolvedSpec: "@openclaw/broken-plugin@2026.5.4",

1047+

},

1048+

...Object.fromEntries(

1049+

plugins.map(({ pluginId, packageName }) => [

1050+

pluginId,

1051+

{

1052+

source: "npm",

1053+

spec: packageName,

1054+

installPath: installPaths[pluginId],

1055+

resolvedName: packageName,

1056+

resolvedVersion: "2026.5.4",

1057+

resolvedSpec: `${packageName}@2026.5.4`,

1058+

integrity: "sha512-same",

1059+

shasum: "same",

1060+

},

1061+

]),

1062+

),

1063+

},

1064+

},

1065+

},

1066+

pluginIds: ["codex"],

1067+

logger: { warn: (message) => warnMessages.push(message) },

1068+

});

1069+1070+

expect(installPluginFromNpmSpecMock).toHaveBeenCalledTimes(1);

1071+

expect(fs.existsSync(peerLinkPath("brave"))).toBe(true);

1072+

expect(fs.existsSync(peerLinkPath("codex"))).toBe(true);

1073+

expect(warnMessages).toContainEqual(

1074+

expect.stringContaining('Could not repair openclaw peer link for "broken"'),

1075+

);

1076+

});

1077+9971078

it("refreshes legacy npm install records before skipping unchanged artifacts", async () => {

9981079

const installPath = createInstalledPackageDir({

9991080

name: "@martian-engineering/lossless-claw",