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

推荐订阅源

J
Java Code Geeks
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
A
About on SuperTechFans
Vercel News
Vercel News
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
S
SegmentFault 最新的问题
V
Visual Studio Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
Apple Machine Learning Research
Apple Machine Learning Research
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
test(release): update plugin prerelease assertions · open...
steipete · 2026-05-15 · via Recent Commits to openclaw:main

@@ -1125,7 +1125,7 @@ describe("uninstallPlugin", () => {

11251125

path.join(runtimePeerDir, "package.json"),

11261126

`${JSON.stringify({ name: "runtime-peer", version: "1.0.0" }, null, 2)}\n`,

11271127

);

1128-

runCommandWithTimeoutMock.mockImplementation(async (argv: string[]) => {

1128+

runCommandWithTimeoutMock.mockImplementation(async (argv: string[], options?: unknown) => {

11291129

if (argv[1] === "uninstall") {

11301130

expect(argv).toContain("--legacy-peer-deps");

11311131

await fs.rm(removedPluginDir, { recursive: true, force: true });

@@ -1146,6 +1146,22 @@ describe("uninstallPlugin", () => {

11461146

termination: "exit",

11471147

};

11481148

}

1149+

if (argv[1] === "install" && argv.includes("--package-lock-only")) {

1150+

const cwd = (options as { cwd?: string } | undefined)?.cwd;

1151+

expect(cwd).toBeTruthy();

1152+

await fs.writeFile(

1153+

path.join(cwd as string, "package-lock.json"),

1154+

`${JSON.stringify({ lockfileVersion: 3, packages: { "": {} } }, null, 2)}\n`,

1155+

);

1156+

return {

1157+

code: 0,

1158+

stdout: "",

1159+

stderr: "",

1160+

signal: null,

1161+

killed: false,

1162+

termination: "exit",

1163+

};

1164+

}

11491165

if (argv[1] === "install") {

11501166

expect(argv).toContain("--legacy-peer-deps");

11511167

expect(argv).toContain("--omit=peer");

@@ -1183,7 +1199,7 @@ describe("uninstallPlugin", () => {

11831199

expect(rootManifest.dependencies?.["removed-plugin"]).toBeUndefined();

11841200

expect(rootManifest.dependencies?.["runtime-peer"]).toBeUndefined();

11851201

expect(rootManifest.openclaw?.managedPeerDependencies ?? []).not.toContain("runtime-peer");

1186-

expect(runCommandWithTimeoutMock).toHaveBeenCalledTimes(2);

1202+

expect(runCommandWithTimeoutMock).toHaveBeenCalledTimes(3);

11871203

});

1188120411891205

it("runs npm cleanup when the managed package directory is already absent", async () => {