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

推荐订阅源

J
Java Code Geeks
量子位
腾讯CDC
A
About on SuperTechFans
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
T
Tailwind CSS Blog
V
V2EX
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
罗磊的独立博客
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
V
Visual Studio Blog
D
DataBreaches.Net
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
有赞技术团队
有赞技术团队

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): harden live release validation · openclaw/...
steipete · 2026-05-10 · via Recent Commits to openclaw:main

@@ -6,12 +6,16 @@ import {

66

extractNonEmptyAssistantText,

77

isLiveTestEnabled,

88

} from "./live-test-helpers.js";

9-

import { isBillingErrorMessage } from "./pi-embedded-helpers/failover-matches.js";

9+

import {

10+

isBillingErrorMessage,

11+

isOverloadedErrorMessage,

12+

} from "./pi-embedded-helpers/failover-matches.js";

1013

import { applyExtraParamsToAgent } from "./pi-embedded-runner.js";

1114

import { createWebSearchTool } from "./tools/web-search.js";

12151316

const XAI_KEY = process.env.XAI_API_KEY ?? "";

1417

const LIVE = isLiveTestEnabled(["XAI_LIVE_TEST"]);

18+

const XAI_COMPLETE_LIVE_TIMEOUT_MS = 90_000;

1519

const XAI_WEB_SEARCH_LIVE_TIMEOUT_SECONDS = 60;

16201721

const describeLive = LIVE && XAI_KEY ? describe : describe.skip;

@@ -47,6 +51,10 @@ async function runXaiLiveCase(label: string, run: () => Promise<void>): Promise<

4751

console.warn(`[xai:live] skip ${label}: billing drift: ${message}`);

4852

return;

4953

}

54+

if (isOverloadedErrorMessage(message)) {

55+

console.warn(`[xai:live] skip ${label}: temporary provider capacity: ${message}`);

56+

return;

57+

}

5058

if (message.includes("web_search is disabled or no provider is available")) {

5159

console.warn(`[xai:live] skip ${label}: web_search unavailable in this environment`);

5260

return;

@@ -68,23 +76,27 @@ async function collectDoneMessage(

6876

}

69777078

describeLive("xai live", () => {

71-

it("returns assistant text for Grok 4.3", async () => {

72-

await runXaiLiveCase("complete", async () => {

73-

const model = requireLiveValue(resolveLiveXaiModel(), "xAI model");

74-

const res = await completeSimple(

75-

model,

76-

{

77-

messages: createSingleUserPromptMessage(),

78-

},

79-

{

80-

apiKey: XAI_KEY,

81-

maxTokens: 64,

82-

},

83-

);

79+

it(

80+

"returns assistant text for Grok 4.3",

81+

async () => {

82+

await runXaiLiveCase("complete", async () => {

83+

const model = requireLiveValue(resolveLiveXaiModel(), "xAI model");

84+

const res = await completeSimple(

85+

model,

86+

{

87+

messages: createSingleUserPromptMessage(),

88+

},

89+

{

90+

apiKey: XAI_KEY,

91+

maxTokens: 64,

92+

},

93+

);

849485-

expect(extractNonEmptyAssistantText(res.content).length).toBeGreaterThan(0);

86-

});

87-

}, 30_000);

95+

expect(extractNonEmptyAssistantText(res.content).length).toBeGreaterThan(0);

96+

});

97+

},

98+

XAI_COMPLETE_LIVE_TIMEOUT_MS,

99+

);

8810089101

it("sends wrapped xAI tool payloads live", async () => {

90102

await runXaiLiveCase("tool-call", async () => {