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

推荐订阅源

宝玉的分享
宝玉的分享
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MyScale Blog
MyScale Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
SegmentFault 最新的问题
Y
Y Combinator Blog
月光博客
月光博客
IT之家
IT之家
T
Tailwind CSS Blog
Last Week in AI
Last Week in AI
L
LangChain Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
博客园 - Franky
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
V
Visual Studio Blog
小众软件
小众软件
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium

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: check context and music options · openclaw/openclaw...
shakkernerd · 2026-05-12 · via Recent Commits to openclaw:main

@@ -854,7 +854,8 @@ describe("Invalid engine fallback", () => {

854854

name: "missing registration",

855855

engineId: uniqueEngineId("does-not-exist"),

856856

register: () => undefined,

857-

expectedError: "does-not-exist",

857+

expectedError: (engineId: string) =>

858+

`[context-engine] Context engine "${engineId}" is not registered; falling back to default engine "legacy".`,

858859

},

859860

{

860861

name: "factory throws",

@@ -864,7 +865,8 @@ describe("Invalid engine fallback", () => {

864865

throw new Error("plugin version mismatch");

865866

});

866867

},

867-

expectedError: "plugin version mismatch",

868+

expectedError: (engineId: string) =>

869+

`[context-engine] Context engine "${engineId}" factory threw during resolution: plugin version mismatch; falling back to default engine "legacy".`,

868870

},

869871

{

870872

name: "missing info metadata",

@@ -886,7 +888,8 @@ describe("Invalid engine fallback", () => {

886888

}) as unknown as ContextEngine,

887889

);

888890

},

889-

expectedError: "missing info",

891+

expectedError: (engineId: string) =>

892+

`[context-engine] Context engine "${engineId}" factory returned an invalid ContextEngine: missing info.; falling back to default engine "legacy".`,

890893

},

891894

{

892895

name: "missing lifecycle methods",

@@ -903,15 +906,17 @@ describe("Invalid engine fallback", () => {

903906

}) as unknown as ContextEngine,

904907

);

905908

},

906-

expectedError: "missing assemble(), missing compact()",

909+

expectedError: (engineId: string) =>

910+

`[context-engine] Context engine "${engineId}" factory returned an invalid ContextEngine: missing assemble(), missing compact().; falling back to default engine "legacy".`,

907911

},

908912

{

909913

name: "contract validation throws",

910914

engineId: uniqueEngineId("validation-throw"),

911915

register: (engineId: string) => {

912916

registerContextEngine(engineId, () => 42n as unknown as ContextEngine);

913917

},

914-

expectedError: "contract validation threw",

918+

expectedError: (engineId: string) =>

919+

`[context-engine] Context engine "${engineId}" contract validation threw: Do not know how to serialize a BigInt; falling back to default engine "legacy".`,

915920

},

916921

] as const;

917922

@@ -923,7 +928,7 @@ describe("Invalid engine fallback", () => {

923928924929

expect(engine.info.id, testCase.name).toBe("legacy");

925930

expect(console.error, testCase.name).toHaveBeenCalledWith(

926-

expect.stringContaining(testCase.expectedError),

931+

testCase.expectedError(testCase.engineId),

927932

);

928933

}

929934

});