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

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
WordPress大学
WordPress大学
T
Tailwind CSS Blog
V
Visual Studio Blog
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
量子位
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
Jina AI
Jina AI
雷峰网
雷峰网
博客园 - 【当耐特】
博客园 - 叶小钗
美团技术团队
宝玉的分享
宝玉的分享
IT之家
IT之家

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: align runtime fixture expectations · openclaw/openc...
steipete · 2026-05-02 · via Recent Commits to openclaw:main

@@ -33,7 +33,9 @@ const mocks = vi.hoisted(() => ({

3333

),

3434

resolveInstalledManifestRegistryIndexFingerprint: vi.fn(() => "test-installed-index"),

3535

loadBundledCapabilityRuntimeRegistry: vi.fn(),

36-

loadPluginRegistrySnapshot: vi.fn<() => { plugins: Array<Record<string, unknown>> }>(() => ({

36+

loadPluginRegistrySnapshot: vi.fn<

37+

(_params?: unknown) => { plugins: Array<Record<string, unknown>> }

38+

>(() => ({

3739

plugins: [],

3840

})),

3941

withBundledPluginAllowlistCompat: vi.fn(

@@ -65,13 +67,21 @@ vi.mock("./manifest-registry-installed.js", () => ({

6567

mocks.resolveInstalledManifestRegistryIndexFingerprint,

6668

}));

676970+

vi.mock("./manifest-registry.js", async (importOriginal) => {

71+

const actual = await importOriginal<typeof import("./manifest-registry.js")>();

72+

return {

73+

...actual,

74+

loadPluginManifestRegistry: mocks.loadPluginManifestRegistry,

75+

};

76+

});

77+6878

vi.mock("./plugin-registry.js", async (importOriginal) => {

6979

const actual = await importOriginal<typeof import("./plugin-registry.js")>();

7080

return {

7181

...actual,

7282

loadPluginRegistrySnapshot: mocks.loadPluginRegistrySnapshot,

7383

loadPluginRegistrySnapshotWithMetadata: (params?: { index?: unknown }) => {

74-

const snapshot = (params?.index ?? mocks.loadPluginRegistrySnapshot()) as {

84+

const snapshot = (params?.index ?? mocks.loadPluginRegistrySnapshot(params)) as {

7585

plugins?: Array<Record<string, unknown>>;

7686

};

7787

return {

@@ -138,8 +148,6 @@ function expectBundledCompatLoadPath(params: {

138148

expect.objectContaining({

139149

config: params.cfg,

140150

env: process.env,

141-

includeDisabled: true,

142-

index: expect.any(Object),

143151

}),

144152

);

145153

expect(mocks.withBundledPluginEnablementCompat).toHaveBeenCalledWith({

@@ -1102,8 +1110,6 @@ describe("resolvePluginCapabilityProviders", () => {

11021110

expect.objectContaining({

11031111

config: {},

11041112

env: process.env,

1105-

includeDisabled: true,

1106-

index: expect.any(Object),

11071113

}),

11081114

);

11091115

expect(mocks.resolveRuntimePluginRegistry).toHaveBeenCalledWith({

@@ -1230,8 +1236,6 @@ describe("resolvePluginCapabilityProviders", () => {

12301236

expect.objectContaining({

12311237

config: cfg,

12321238

env: process.env,

1233-

includeDisabled: true,

1234-

index: expect.any(Object),

12351239

}),

12361240

);

12371241

expect(mocks.withBundledPluginAllowlistCompat).toHaveBeenCalledWith({

@@ -1265,8 +1269,6 @@ describe("resolvePluginCapabilityProviders", () => {

12651269

expect.objectContaining({

12661270

config: {},

12671271

env: process.env,

1268-

includeDisabled: true,

1269-

index: expect.any(Object),

12701272

}),

12711273

);

12721274

expect(mocks.resolveRuntimePluginRegistry).toHaveBeenCalledWith();