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

推荐订阅源

V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
J
Java Code Geeks
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
人人都是产品经理
人人都是产品经理
Martin Fowler
Martin Fowler
IT之家
IT之家
博客园_首页
B
Blog RSS Feed
Google DeepMind News
Google DeepMind News
B
Blog
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
博客园 - 聂微东
腾讯CDC
A
About on SuperTechFans

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: tighten video runtime assertions · openclaw/opencla...
steipete · 2026-05-10 · via Recent Commits to openclaw:main

@@ -425,13 +425,9 @@ describe("video-generation runtime", () => {

425425

expect(seenCapabilityLookupTimeoutMs).toBe(5_000);

426426

expect(seenSupportedDurationHint).toEqual([5]);

427427

expect(result.ignoredOverrides).toContainEqual({ key: "audio", value: true });

428-

expect(result.normalization).toMatchObject({

429-

durationSeconds: {

430-

requested: 6,

431-

applied: 5,

432-

supportedValues: [5],

433-

},

434-

});

428+

expect(result.normalization?.durationSeconds?.requested).toBe(6);

429+

expect(result.normalization?.durationSeconds?.applied).toBe(5);

430+

expect(result.normalization?.durationSeconds?.supportedValues).toEqual([5]);

435431

});

436432437433

it("skips providers that cannot satisfy reference audio inputs and falls back", async () => {

@@ -816,18 +812,12 @@ describe("video-generation runtime", () => {

816812

});

817813818814

expect(seenDurationSeconds).toBe(6);

819-

expect(result.normalization).toMatchObject({

820-

durationSeconds: {

821-

requested: 5,

822-

applied: 6,

823-

supportedValues: [4, 6, 8],

824-

},

825-

});

826-

expect(result.metadata).toMatchObject({

827-

requestedDurationSeconds: 5,

828-

normalizedDurationSeconds: 6,

829-

supportedDurationSeconds: [4, 6, 8],

830-

});

815+

expect(result.normalization?.durationSeconds?.requested).toBe(5);

816+

expect(result.normalization?.durationSeconds?.applied).toBe(6);

817+

expect(result.normalization?.durationSeconds?.supportedValues).toEqual([4, 6, 8]);

818+

expect(result.metadata?.requestedDurationSeconds).toBe(5);

819+

expect(result.metadata?.normalizedDurationSeconds).toBe(6);

820+

expect(result.metadata?.supportedDurationSeconds).toEqual([4, 6, 8]);

831821

expect(result.ignoredOverrides).toStrictEqual([]);

832822

});

833823

@@ -931,16 +921,10 @@ describe("video-generation runtime", () => {

931921932922

expect(seenResolution).toBe("768P");

933923

expect(result.ignoredOverrides).toStrictEqual([]);

934-

expect(result.normalization).toMatchObject({

935-

resolution: {

936-

requested: "720P",

937-

applied: "768P",

938-

},

939-

});

940-

expect(result.metadata).toMatchObject({

941-

requestedResolution: "720P",

942-

normalizedResolution: "768P",

943-

});

924+

expect(result.normalization?.resolution?.requested).toBe("720P");

925+

expect(result.normalization?.resolution?.applied).toBe("768P");

926+

expect(result.metadata?.requestedResolution).toBe("720P");

927+

expect(result.metadata?.normalizedResolution).toBe("768P");

944928

});

945929946930

it("ignores unparseable video resolutions instead of sending them to providers", async () => {

@@ -1037,17 +1021,11 @@ describe("video-generation runtime", () => {

10371021

resolution: undefined,

10381022

});

10391023

expect(result.ignoredOverrides).toStrictEqual([]);

1040-

expect(result.normalization).toMatchObject({

1041-

aspectRatio: {

1042-

applied: "16:9",

1043-

derivedFrom: "size",

1044-

},

1045-

});

1046-

expect(result.metadata).toMatchObject({

1047-

requestedSize: "1280x720",

1048-

normalizedAspectRatio: "16:9",

1049-

aspectRatioDerivedFromSize: "16:9",

1050-

});

1024+

expect(result.normalization?.aspectRatio?.applied).toBe("16:9");

1025+

expect(result.normalization?.aspectRatio?.derivedFrom).toBe("size");

1026+

expect(result.metadata?.requestedSize).toBe("1280x720");

1027+

expect(result.metadata?.normalizedAspectRatio).toBe("16:9");

1028+

expect(result.metadata?.aspectRatioDerivedFromSize).toBe("16:9");

10511029

});

1052103010531031

it("builds a generic config hint without hardcoded provider ids", async () => {